elibri_onix 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -1
- data/Gemfile.lock +3 -1
- data/elibri_onix.gemspec +48 -5
- data/lib/elibri_onix.rb +3 -0
- data/lib/elibri_onix/inspector.rb +25 -0
- data/lib/elibri_onix/onix_3_0/audience_range.rb +4 -3
- data/lib/elibri_onix/onix_3_0/collection.rb +10 -1
- data/lib/elibri_onix/onix_3_0/contributor.rb +9 -0
- data/lib/elibri_onix/onix_3_0/extent.rb +17 -3
- data/lib/elibri_onix/onix_3_0/header.rb +1 -0
- data/lib/elibri_onix/onix_3_0/imprint.rb +1 -0
- data/lib/elibri_onix/onix_3_0/language.rb +14 -2
- data/lib/elibri_onix/onix_3_0/measure.rb +12 -2
- data/lib/elibri_onix/onix_3_0/onix_message.rb +2 -1
- data/lib/elibri_onix/onix_3_0/price.rb +1 -0
- data/lib/elibri_onix/onix_3_0/product.rb +97 -67
- data/lib/elibri_onix/onix_3_0/product_identifier.rb +10 -1
- data/lib/elibri_onix/onix_3_0/publisher.rb +3 -1
- data/lib/elibri_onix/onix_3_0/publishing_date.rb +11 -2
- data/lib/elibri_onix/onix_3_0/related_product.rb +1 -0
- data/lib/elibri_onix/onix_3_0/sales_restriction.rb +1 -0
- data/lib/elibri_onix/onix_3_0/sender.rb +2 -0
- data/lib/elibri_onix/onix_3_0/stock_quantity_coded.rb +1 -0
- data/lib/elibri_onix/onix_3_0/subject.rb +1 -0
- data/lib/elibri_onix/onix_3_0/supplier.rb +1 -0
- data/lib/elibri_onix/onix_3_0/supplier_identifier.rb +1 -0
- data/lib/elibri_onix/onix_3_0/supply_detail.rb +1 -0
- data/lib/elibri_onix/onix_3_0/supporting_resource.rb +24 -5
- data/lib/elibri_onix/onix_3_0/text_content.rb +15 -2
- data/lib/elibri_onix/onix_3_0/title_detail.rb +21 -9
- data/lib/elibri_onix/onix_3_0/title_element.rb +15 -4
- data/lib/elibri_onix/version.rb +1 -1
- data/test/elibri_audience_range_test.rb +14 -0
- data/test/elibri_contributors_test.rb +37 -0
- data/test/elibri_edition_test.rb +10 -0
- data/test/elibri_extensions_test.rb +14 -0
- data/test/elibri_extent_test.rb +15 -0
- data/test/elibri_languages_test.rb +14 -0
- data/test/elibri_measurement_test.rb +16 -0
- data/test/elibri_onix_release_3_0_onix_message_test.rb +19 -28
- data/test/elibri_product_form_test.rb +12 -0
- data/test/elibri_publisher_info_test.rb +12 -0
- data/test/elibri_publishing_status_test.rb +41 -0
- data/test/elibri_record_identifiers_test.rb +16 -0
- data/test/elibri_sale_restrictions_test.rb +11 -0
- data/test/elibri_series_memberships_test.rb +16 -0
- data/test/elibri_supporting_resources_test.rb +12 -0
- data/test/elibri_texts_test.rb +16 -0
- data/test/elibri_titles_test.rb +24 -0
- data/test/fixtures/old_dialect.xml +10 -0
- data/test/fixtures/onix_announced_product_example.xml +54 -0
- data/test/fixtures/onix_audience_range_example.xml +44 -0
- data/test/fixtures/onix_audiobook_extent_example.xml +39 -0
- data/test/fixtures/onix_collective_work_example.xml +38 -0
- data/test/fixtures/onix_contributors_example.xml +53 -0
- data/test/fixtures/onix_ebook_extent_example.xml +45 -0
- data/test/fixtures/onix_edition_example.xml +35 -0
- data/test/fixtures/onix_elibri_extensions_example.xml +38 -0
- data/test/fixtures/onix_languages_example.xml +42 -0
- data/test/fixtures/onix_measurement_example.xml +55 -0
- data/test/fixtures/onix_no_contributors_example.xml +35 -0
- data/test/fixtures/onix_out_of_print_product_example.xml +34 -0
- data/test/fixtures/onix_preorder_product_example.xml +39 -0
- data/test/fixtures/onix_product_form_example.xml +35 -0
- data/test/fixtures/onix_published_product_example.xml +39 -0
- data/test/fixtures/onix_publisher_info_example.xml +41 -0
- data/test/fixtures/onix_record_identifiers_example.xml +74 -0
- data/test/fixtures/onix_sale_restrictions_example.xml +46 -0
- data/test/fixtures/onix_series_memberships_example.xml +56 -0
- data/test/fixtures/onix_supporting_resources_example.xml +54 -0
- data/test/fixtures/onix_texts_example.xml +65 -0
- data/test/fixtures/onix_title_with_collection_example.xml +53 -0
- data/test/fixtures/onix_titles_example.xml +49 -0
- data/test/helper.rb +6 -0
- metadata +73 -17
@@ -27,30 +27,23 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
|
27
27
|
assert_equal '58.11.1', product.pkwiu
|
28
28
|
|
29
29
|
assert_equal 'fdb8fa072be774d97a97', product.record_reference
|
30
|
-
assert_equal
|
30
|
+
assert_equal '03', product.notification_type
|
31
31
|
assert_equal "Record had many errors", product.deletion_text
|
32
32
|
|
33
33
|
assert_equal '9788324799992', product.isbn13
|
34
|
-
assert_equal '9788324788882', product.
|
34
|
+
assert_equal '9788324788882', product.ean
|
35
35
|
|
36
36
|
assert_equal({"Gildia.pl" => "GILD-123", "PWN" => "pl.pwn.ksiegarnia.produkt.id.76734"}, product.proprietary_identifiers)
|
37
37
|
|
38
|
-
assert_equal
|
38
|
+
assert_equal "00", product.product_composition
|
39
39
|
assert_equal 'BA', product.product_form
|
40
40
|
|
41
41
|
assert_equal 4, product.measures.size
|
42
42
|
|
43
43
|
assert_equal 195, product.height
|
44
|
-
assert_equal 'mm', product.height_unit
|
45
|
-
|
46
44
|
assert_equal 125, product.width
|
47
|
-
assert_equal 'mm', product.width_unit
|
48
|
-
|
49
45
|
assert_equal 20, product.thickness
|
50
|
-
assert_equal
|
51
|
-
|
52
|
-
assert_equal 90.5, product.weight
|
53
|
-
assert_equal 'gr', product.weight_unit
|
46
|
+
assert_equal 90, product.weight
|
54
47
|
|
55
48
|
assert_equal 1, product.collections.size
|
56
49
|
assert_equal "Publisher series title (Vol. 1)", product.collections.first.full_title
|
@@ -75,7 +68,7 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
|
75
68
|
assert_equal 'second edition', product.edition_statement
|
76
69
|
|
77
70
|
assert_equal 1, product.languages.size
|
78
|
-
assert_equal
|
71
|
+
assert_equal "01", product.languages.first.role
|
79
72
|
assert_equal 'pol', product.languages.first.code
|
80
73
|
|
81
74
|
assert_equal 250, product.number_of_pages
|
@@ -98,30 +91,28 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
|
98
91
|
|
99
92
|
assert_equal 1, product.text_contents.size
|
100
93
|
product.text_contents.first.tap do |book_review|
|
101
|
-
assert_equal
|
102
|
-
assert_equal 0, book_review.audience
|
94
|
+
assert_equal "07", book_review.type
|
103
95
|
assert_equal 'Jan Kowalski', book_review.author
|
104
96
|
assert_equal 'This book is purely <strong>awesome!</strong>', book_review.text.strip
|
105
97
|
end
|
106
98
|
|
107
99
|
assert_equal 1, product.supporting_resources.size
|
108
100
|
product.supporting_resources.first.tap do |cover|
|
109
|
-
assert_equal
|
110
|
-
assert_equal
|
111
|
-
assert_equal
|
112
|
-
assert_equal 2, cover.form
|
101
|
+
assert_equal "01", cover.content_type
|
102
|
+
assert_equal "03", cover.mode
|
103
|
+
assert_equal "02", cover.form
|
113
104
|
assert_equal 'http://elibri.com.pl/path/to/file.png', cover.link
|
114
105
|
end
|
115
106
|
|
116
107
|
assert_equal 'National Geographic', product.imprint_name
|
117
108
|
|
118
109
|
assert_equal 'GREG', product.publisher.name
|
119
|
-
assert_equal
|
110
|
+
assert_equal "01", product.publisher.role
|
120
111
|
|
121
|
-
assert_equal
|
112
|
+
assert_equal "04", product.publishing_status
|
122
113
|
|
123
|
-
assert_equal
|
124
|
-
assert_equal
|
114
|
+
assert_equal "01", product.publishing_date.role
|
115
|
+
assert_equal "05", product.publishing_date.format
|
125
116
|
assert_equal '2011', product.publishing_date.date
|
126
117
|
|
127
118
|
assert_equal 1, product.sales_restrictions.size
|
@@ -133,15 +124,15 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
|
133
124
|
assert_equal 2, product.related_products.size
|
134
125
|
|
135
126
|
product.related_products.first.tap do |first_related|
|
136
|
-
assert_equal 24, first_related.relation_code
|
137
|
-
assert_equal '9788324705818', first_related.isbn13
|
138
|
-
assert_equal({"Gildia.pl" => "Title of facsimile"}, first_related.proprietary_identifiers)
|
127
|
+
#assert_equal 24, first_related.relation_code
|
128
|
+
#assert_equal '9788324705818', first_related.isbn13
|
129
|
+
#assert_equal({"Gildia.pl" => "Title of facsimile"}, first_related.proprietary_identifiers)
|
139
130
|
end
|
140
131
|
|
141
132
|
product.related_products[1].tap do |second_related|
|
142
|
-
assert_equal 23, second_related.relation_code
|
143
|
-
assert_equal '9788324799992', second_related.isbn13
|
144
|
-
assert_equal({"PWN" => "Title of similar book"}, second_related.proprietary_identifiers)
|
133
|
+
#assert_equal 23, second_related.relation_code
|
134
|
+
#assert_equal '9788324799992', second_related.isbn13
|
135
|
+
#assert_equal({"PWN" => "Title of similar book"}, second_related.proprietary_identifiers)
|
145
136
|
end
|
146
137
|
|
147
138
|
assert_equal 2, product.supply_details.size
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
|
+
|
5
|
+
it "should be able to parse the product form" do
|
6
|
+
product = load_fixture("onix_product_form_example.xml")
|
7
|
+
|
8
|
+
assert_equal "00", product.product_composition
|
9
|
+
assert_equal "BA", product.product_form
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
|
+
|
5
|
+
it "should be able to parse measurement attributes supported in Elibri" do
|
6
|
+
product = load_fixture("onix_publisher_info_example.xml")
|
7
|
+
assert_equal "G+J Gruner+Jahr Polska", product.publisher_name
|
8
|
+
assert_equal "National Geographic", product.imprint_name
|
9
|
+
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
|
+
|
5
|
+
it "should be able to recognize announced state" do
|
6
|
+
product = load_fixture("onix_announced_product_example.xml")
|
7
|
+
assert_equal "01", product.notification_type
|
8
|
+
assert_equal "02", product.publishing_status
|
9
|
+
assert_equal :announced, product.current_state
|
10
|
+
assert_equal [2011], product.parsed_publishing_date
|
11
|
+
assert !product.sales_restrictions?
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should be able to recognize preorder state" do
|
15
|
+
product = load_fixture("onix_preorder_product_example.xml")
|
16
|
+
assert_equal "02", product.notification_type
|
17
|
+
assert_equal "02", product.publishing_status
|
18
|
+
assert_equal :preorder, product.current_state
|
19
|
+
assert_equal [2011, 2, 10], product.parsed_publishing_date
|
20
|
+
assert !product.sales_restrictions?
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should be able to recognize published state" do
|
24
|
+
product = load_fixture("onix_published_product_example.xml")
|
25
|
+
assert_equal "03", product.notification_type
|
26
|
+
assert_equal "04", product.publishing_status
|
27
|
+
assert_equal :published, product.current_state
|
28
|
+
assert_equal [2011, 2], product.parsed_publishing_date
|
29
|
+
assert !product.sales_restrictions?
|
30
|
+
end
|
31
|
+
|
32
|
+
it "should be able to recognize out_of_print state" do
|
33
|
+
product = load_fixture("onix_out_of_print_product_example.xml")
|
34
|
+
assert_equal "03", product.notification_type
|
35
|
+
assert_equal "07", product.publishing_status
|
36
|
+
assert_equal :out_of_print, product.current_state
|
37
|
+
assert_equal [], product.parsed_publishing_date
|
38
|
+
assert !product.sales_restrictions?
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
|
+
|
5
|
+
it "should be able to parse measurement attributes supported in Elibri" do
|
6
|
+
product = load_fixture("onix_record_identifiers_example.xml")
|
7
|
+
|
8
|
+
assert_equal "fdb8fa072be774d97a97", product.record_reference
|
9
|
+
assert_equal '9788324799992', product.isbn13
|
10
|
+
assert_equal '9788324788882', product.ean
|
11
|
+
|
12
|
+
assert_equal({"Olesiejuk" => "355006"}, product.proprietary_identifiers)
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
|
+
|
5
|
+
it "should be able to parse measurement attributes supported in Elibri" do
|
6
|
+
product = load_fixture("onix_sale_restrictions_example.xml")
|
7
|
+
assert product.sales_restrictions?
|
8
|
+
assert_equal [2012, 7, 22], product.parsed_publishing_date #data po wygaśnięciu wyłączności empiku
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
|
+
|
5
|
+
it "should be able to parse measurement attributes supported in Elibri" do
|
6
|
+
product = load_fixture("onix_series_memberships_example.xml")
|
7
|
+
assert_equal ["Lektury szkolne", "Dla Bystrzaków"], product.series_names
|
8
|
+
|
9
|
+
assert_equal "Lektury szkolne", product.series[0][0]
|
10
|
+
assert_equal "2", product.series[0][1]
|
11
|
+
|
12
|
+
assert_equal "Dla Bystrzaków", product.series[1][0]
|
13
|
+
assert_equal "1", product.series[1][1]
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
|
+
|
5
|
+
it "should be able to parse measurement attributes supported in Elibri" do
|
6
|
+
product = load_fixture("onix_supporting_resources_example.xml")
|
7
|
+
|
8
|
+
assert_equal 2, product.supporting_resources.size
|
9
|
+
assert_equal "http://elibri.com.pl/sciezka/do/pliku.png", product.front_cover
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
|
+
|
5
|
+
it "should be able to parse measurement attributes supported in Elibri" do
|
6
|
+
product = load_fixture("onix_texts_example.xml")
|
7
|
+
|
8
|
+
assert_equal 4, product.text_contents.size
|
9
|
+
|
10
|
+
assert_equal "1. Wprowadzenie<br/>2. Rozdział pierwszy<br/>[...]", product.table_of_contents
|
11
|
+
assert_equal [["Recenzja książki<br/>[...]", "Jan Kowalski"]], product.reviews
|
12
|
+
assert_equal "Opis książki<br/>[...]", product.description
|
13
|
+
assert_equal ["Fragment książki<br/>[...]"], product.excerpts
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
|
+
|
5
|
+
it "should be able to parse measurement attributes supported in Elibri" do
|
6
|
+
product = load_fixture("onix_titles_example.xml")
|
7
|
+
|
8
|
+
assert_equal "Nothing to Envy: Ordinary Lives in North Korea", product.original_title
|
9
|
+
assert_equal "Światu nie mamy czego zazdrościć. Zwyczajne losy mieszkańców Korei Północnej.", product.full_title
|
10
|
+
assert_equal "Światu nie mamy czego zazdrościć.", product.title
|
11
|
+
assert_equal "Zwyczajne losy mieszkańców Korei Północnej.", product.subtitle
|
12
|
+
assert_equal "ŚWIATU NIE MAMY CZEGO ZAZDROŚCIĆ.", product.trade_title
|
13
|
+
|
14
|
+
product = load_fixture("onix_title_with_collection_example.xml")
|
15
|
+
|
16
|
+
assert_equal "Thorgal (#33). Statek-Miecz", product.full_title
|
17
|
+
assert_equal "Statek-Miecz", product.title
|
18
|
+
assert_equal "Thorgal", product.collection_title
|
19
|
+
assert_equal "33", product.collection_part
|
20
|
+
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
@@ -12,6 +12,16 @@
|
|
12
12
|
</Header>
|
13
13
|
<Product>
|
14
14
|
<RecordReference>fdb8fa072be774d97a97</RecordReference>
|
15
|
+
<NotificationType>02</NotificationType>
|
16
|
+
<DescriptiveDetail>
|
17
|
+
<TitleDetail>
|
18
|
+
<TitleType>01</TitleType>
|
19
|
+
<TitleElement>
|
20
|
+
<TitleElementLevel>01</TitleElementLevel>
|
21
|
+
<TitleText>Nielegalni</TitleText>
|
22
|
+
</TitleElement>
|
23
|
+
</TitleDetail>
|
24
|
+
</DescriptiveDetail>
|
15
25
|
<elibri:CoverType>miękka</elibri:CoverType>
|
16
26
|
<elibri:CoverPrice>12.99</elibri:CoverPrice>
|
17
27
|
<elibri:Vat>5</elibri:Vat>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ONIXMessage release="3.0" xmlns:elibri="http://elibri.com.pl/ns/extensions" xmlns="http://www.editeur.org/onix/3.0/reference">
|
3
|
+
<elibri:Dialect>3.0.1</elibri:Dialect>
|
4
|
+
<Header>
|
5
|
+
<Sender>
|
6
|
+
<SenderName>Elibri.com.pl</SenderName>
|
7
|
+
<ContactName>Tomasz Meka</ContactName>
|
8
|
+
<EmailAddress>kontakt@elibri.com.pl</EmailAddress>
|
9
|
+
</Sender>
|
10
|
+
<SentDateTime>20111113</SentDateTime>
|
11
|
+
</Header>
|
12
|
+
<Product>
|
13
|
+
<RecordReference>fdb8fa072be774d97a97</RecordReference>
|
14
|
+
<NotificationType>01</NotificationType>
|
15
|
+
<ProductIdentifier>
|
16
|
+
<ProductIDType>15</ProductIDType>
|
17
|
+
<IDValue>9788324799992</IDValue>
|
18
|
+
</ProductIdentifier>
|
19
|
+
<DescriptiveDetail>
|
20
|
+
<ProductComposition>00</ProductComposition>
|
21
|
+
<ProductForm>BA</ProductForm>
|
22
|
+
<TitleDetail>
|
23
|
+
<TitleType>01</TitleType>
|
24
|
+
<TitleElement>
|
25
|
+
<TitleElementLevel>01</TitleElementLevel>
|
26
|
+
<TitleText>Światu nie mamy czego zazdrościć.</TitleText>
|
27
|
+
<Subtitle>Zwyczajne losy mieszkańców Korei Północnej.</Subtitle>
|
28
|
+
</TitleElement>
|
29
|
+
</TitleDetail>
|
30
|
+
<TitleDetail>
|
31
|
+
<TitleType>03</TitleType>
|
32
|
+
<TitleElement>
|
33
|
+
<TitleElementLevel>01</TitleElementLevel>
|
34
|
+
<TitleText>Nothing to Envy: Ordinary Lives in North Korea</TitleText>
|
35
|
+
</TitleElement>
|
36
|
+
</TitleDetail>
|
37
|
+
<TitleDetail>
|
38
|
+
<TitleType>10</TitleType>
|
39
|
+
<TitleElement>
|
40
|
+
<TitleElementLevel>01</TitleElementLevel>
|
41
|
+
<TitleText>ŚWIATU NIE MAMY CZEGO ZAZDROŚCIĆ.</TitleText>
|
42
|
+
</TitleElement>
|
43
|
+
</TitleDetail>
|
44
|
+
</DescriptiveDetail>
|
45
|
+
<PublishingDetail>
|
46
|
+
<PublishingStatus>02</PublishingStatus>
|
47
|
+
<PublishingDate>
|
48
|
+
<PublishingDateRole>01</PublishingDateRole>
|
49
|
+
<DateFormat>05</DateFormat>
|
50
|
+
<Date>2011</Date>
|
51
|
+
</PublishingDate>
|
52
|
+
</PublishingDetail>
|
53
|
+
</Product>
|
54
|
+
</ONIXMessage>
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ONIXMessage xmlns:elibri="http://elibri.com.pl/ns/extensions" release="3.0" xmlns="http://www.editeur.org/onix/3.0/reference">
|
3
|
+
<elibri:Dialect>3.0.1</elibri:Dialect>
|
4
|
+
<Header>
|
5
|
+
<Sender>
|
6
|
+
<SenderName>Elibri.com.pl</SenderName>
|
7
|
+
<ContactName>Tomasz Meka</ContactName>
|
8
|
+
<EmailAddress>kontakt@elibri.com.pl</EmailAddress>
|
9
|
+
</Sender>
|
10
|
+
<SentDateTime>20111111</SentDateTime>
|
11
|
+
</Header>
|
12
|
+
<Product>
|
13
|
+
<RecordReference>fdb8fa072be774d97a97</RecordReference>
|
14
|
+
<NotificationType>03</NotificationType>
|
15
|
+
<ProductIdentifier>
|
16
|
+
<ProductIDType>15</ProductIDType>
|
17
|
+
<IDValue>9788324799992</IDValue>
|
18
|
+
</ProductIdentifier>
|
19
|
+
<DescriptiveDetail>
|
20
|
+
<ProductComposition>00</ProductComposition>
|
21
|
+
<ProductForm>BA</ProductForm>
|
22
|
+
<TitleDetail>
|
23
|
+
<TitleType>01</TitleType>
|
24
|
+
<TitleElement>
|
25
|
+
<TitleElementLevel>01</TitleElementLevel>
|
26
|
+
<TitleText>Nielegalni</TitleText>
|
27
|
+
</TitleElement>
|
28
|
+
</TitleDetail>
|
29
|
+
<AudienceRange>
|
30
|
+
<AudienceRangeQualifier>18</AudienceRangeQualifier>
|
31
|
+
<AudienceRangePrecision>03</AudienceRangePrecision>
|
32
|
+
<AudienceRangeValue>7</AudienceRangeValue>
|
33
|
+
</AudienceRange>
|
34
|
+
<AudienceRange>
|
35
|
+
<AudienceRangeQualifier>18</AudienceRangeQualifier>
|
36
|
+
<AudienceRangePrecision>04</AudienceRangePrecision>
|
37
|
+
<AudienceRangeValue>10</AudienceRangeValue>
|
38
|
+
</AudienceRange>
|
39
|
+
</DescriptiveDetail>
|
40
|
+
<PublishingDetail>
|
41
|
+
<PublishingStatus>04</PublishingStatus>
|
42
|
+
</PublishingDetail>
|
43
|
+
</Product>
|
44
|
+
</ONIXMessage>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ONIXMessage release="3.0" xmlns:elibri="http://elibri.com.pl/ns/extensions" xmlns="http://www.editeur.org/onix/3.0/reference">
|
3
|
+
<elibri:Dialect>3.0.1</elibri:Dialect>
|
4
|
+
<Header>
|
5
|
+
<Sender>
|
6
|
+
<SenderName>Elibri.com.pl</SenderName>
|
7
|
+
<ContactName>Tomasz Meka</ContactName>
|
8
|
+
<EmailAddress>kontakt@elibri.com.pl</EmailAddress>
|
9
|
+
</Sender>
|
10
|
+
<SentDateTime>20111112</SentDateTime>
|
11
|
+
</Header>
|
12
|
+
<Product>
|
13
|
+
<RecordReference>fdb8fa072be774d97a97</RecordReference>
|
14
|
+
<NotificationType>03</NotificationType>
|
15
|
+
<ProductIdentifier>
|
16
|
+
<ProductIDType>15</ProductIDType>
|
17
|
+
<IDValue>9788324799992</IDValue>
|
18
|
+
</ProductIdentifier>
|
19
|
+
<DescriptiveDetail>
|
20
|
+
<ProductComposition>00</ProductComposition>
|
21
|
+
<ProductForm>AC</ProductForm>
|
22
|
+
<TitleDetail>
|
23
|
+
<TitleType>01</TitleType>
|
24
|
+
<TitleElement>
|
25
|
+
<TitleElementLevel>01</TitleElementLevel>
|
26
|
+
<TitleText>Nielegalni</TitleText>
|
27
|
+
</TitleElement>
|
28
|
+
</TitleDetail>
|
29
|
+
<Extent>
|
30
|
+
<ExtentType>09</ExtentType>
|
31
|
+
<ExtentValue>340</ExtentValue>
|
32
|
+
<ExtentUnit>05</ExtentUnit>
|
33
|
+
</Extent>
|
34
|
+
</DescriptiveDetail>
|
35
|
+
<PublishingDetail>
|
36
|
+
<PublishingStatus>04</PublishingStatus>
|
37
|
+
</PublishingDetail>
|
38
|
+
</Product>
|
39
|
+
</ONIXMessage>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ONIXMessage xmlns:elibri="http://elibri.com.pl/ns/extensions" release="3.0" xmlns="http://www.editeur.org/onix/3.0/reference">
|
3
|
+
<elibri:Dialect>3.0.1</elibri:Dialect>
|
4
|
+
<Header>
|
5
|
+
<Sender>
|
6
|
+
<SenderName>Elibri.com.pl</SenderName>
|
7
|
+
<ContactName>Tomasz Meka</ContactName>
|
8
|
+
<EmailAddress>kontakt@elibri.com.pl</EmailAddress>
|
9
|
+
</Sender>
|
10
|
+
<SentDateTime>20111111</SentDateTime>
|
11
|
+
</Header>
|
12
|
+
<Product>
|
13
|
+
<RecordReference>fdb8fa072be774d97a97</RecordReference>
|
14
|
+
<NotificationType>03</NotificationType>
|
15
|
+
<ProductIdentifier>
|
16
|
+
<ProductIDType>15</ProductIDType>
|
17
|
+
<IDValue>9788324799992</IDValue>
|
18
|
+
</ProductIdentifier>
|
19
|
+
<DescriptiveDetail>
|
20
|
+
<ProductComposition>00</ProductComposition>
|
21
|
+
<ProductForm>BA</ProductForm>
|
22
|
+
<TitleDetail>
|
23
|
+
<TitleType>01</TitleType>
|
24
|
+
<TitleElement>
|
25
|
+
<TitleElementLevel>01</TitleElementLevel>
|
26
|
+
<TitleText>Nielegalni</TitleText>
|
27
|
+
</TitleElement>
|
28
|
+
</TitleDetail>
|
29
|
+
<Contributor>
|
30
|
+
<ContributorRole>A01</ContributorRole>
|
31
|
+
<UnnamedPersons>04</UnnamedPersons>
|
32
|
+
</Contributor>
|
33
|
+
</DescriptiveDetail>
|
34
|
+
<PublishingDetail>
|
35
|
+
<PublishingStatus>04</PublishingStatus>
|
36
|
+
</PublishingDetail>
|
37
|
+
</Product>
|
38
|
+
</ONIXMessage>
|