elibri_onix 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/FIELDS.rdoc +2 -2
  3. data/lib/elibri_onix.rb +0 -1
  4. data/lib/elibri_onix/external_id.rb +0 -10
  5. data/lib/elibri_onix/onix_3_0/audience_range.rb +3 -12
  6. data/lib/elibri_onix/onix_3_0/collection.rb +0 -0
  7. data/lib/elibri_onix/onix_3_0/contributor.rb +11 -11
  8. data/lib/elibri_onix/onix_3_0/excerpt_info.rb +29 -10
  9. data/lib/elibri_onix/onix_3_0/extent.rb +3 -12
  10. data/lib/elibri_onix/onix_3_0/file_info.rb +0 -5
  11. data/lib/elibri_onix/onix_3_0/header.rb +2 -2
  12. data/lib/elibri_onix/onix_3_0/imprint.rb +1 -1
  13. data/lib/elibri_onix/onix_3_0/language.rb +2 -13
  14. data/lib/elibri_onix/onix_3_0/measure.rb +3 -12
  15. data/lib/elibri_onix/onix_3_0/onix_message.rb +4 -16
  16. data/lib/elibri_onix/onix_3_0/price.rb +11 -11
  17. data/lib/elibri_onix/onix_3_0/product.rb +137 -69
  18. data/lib/elibri_onix/onix_3_0/product_identifier.rb +3 -3
  19. data/lib/elibri_onix/onix_3_0/publisher.rb +4 -11
  20. data/lib/elibri_onix/onix_3_0/publishing_date.rb +3 -3
  21. data/lib/elibri_onix/onix_3_0/related_product.rb +2 -2
  22. data/lib/elibri_onix/onix_3_0/sales_restriction.rb +4 -4
  23. data/lib/elibri_onix/onix_3_0/sender.rb +3 -3
  24. data/lib/elibri_onix/onix_3_0/stock_quantity_coded.rb +2 -2
  25. data/lib/elibri_onix/onix_3_0/supplier.rb +7 -7
  26. data/lib/elibri_onix/onix_3_0/supplier_identifier.rb +3 -3
  27. data/lib/elibri_onix/onix_3_0/supply_detail.rb +15 -10
  28. data/lib/elibri_onix/onix_3_0/supporting_resource.rb +6 -5
  29. data/lib/elibri_onix/onix_3_0/text_content.rb +6 -6
  30. data/lib/elibri_onix/onix_3_0/thema_subject.rb +33 -0
  31. data/lib/elibri_onix/onix_3_0/title_detail.rb +2 -11
  32. data/lib/elibri_onix/onix_3_0/title_element.rb +4 -4
  33. data/lib/elibri_onix/releases.rb +2 -2
  34. data/lib/elibri_onix/version.rb +1 -1
  35. data/test/cover_test.rb +18 -0
  36. data/test/elibri_audiobook_test.rb +33 -0
  37. data/test/elibri_extensions_test.rb +9 -0
  38. data/test/elibri_onix_release_3_0_onix_message_test.rb +4 -18
  39. data/test/elibri_subjects_test.rb +30 -0
  40. data/test/elibri_supporting_resources_test.rb +4 -2
  41. data/test/fixtures/all_possible_tags.xml +1 -1
  42. data/test/fixtures/onix_audiobook_example.xml +261 -0
  43. data/test/fixtures/onix_removed_elibri_extensions.xml +81 -0
  44. data/test/fixtures/onix_subjects_example.xml +110 -0
  45. data/test/fixtures/onix_supporting_resources_example.xml +15 -5
  46. metadata +9 -6
  47. data/lib/elibri_onix/nokogiri_patch.rb +0 -17
  48. data/lib/elibri_onix/onix_3_0/subject.rb +0 -50
  49. data/test/elibri_categories_test.rb +0 -18
  50. data/test/fixtures/onix_categories_example.xml +0 -59
@@ -0,0 +1,30 @@
1
+ #encoding: UTF-8
2
+ require 'helper'
3
+
4
+ describe Elibri::ONIX::Release_3_0::ONIXMessage do
5
+
6
+ it "should be able to parse thema subjects info" do
7
+ product = load_fixture("onix_subjects_example.xml")
8
+
9
+
10
+ assert_equal 3, product.thema_subjects.count
11
+
12
+ s1 = product.thema_subjects[0]
13
+
14
+ assert_equal "JWCM", s1.code
15
+ assert_equal "Społeczeństwo i nauki społeczne / Działania wojenne i obronność / Siły zbrojne / Lotnictwo wojskowe i wojna w powietrzu", s1.heading_text
16
+
17
+ s2 = product.thema_subjects[1]
18
+
19
+ assert_equal "1DTP", s2.code
20
+ assert_equal "Kwalifikatory geograficzne / Europa / Europa Wschodnia / Polska", s2.heading_text
21
+
22
+ s3 = product.thema_subjects[2]
23
+
24
+ assert_equal "3MPBGH", s3.code
25
+ assert_equal "Kwalifikatory chronologiczne / od ok. 1500 do dzisiaj / XX wiek (ok. 1900–1999) " +
26
+ "/ 1. poł. XX wieku (ok. 1900–1950) / Dwudziestolecie międzywojenne (ok. 1919–1939) / ok. 1920–1929", s3.heading_text
27
+
28
+ end
29
+
30
+ end
@@ -17,9 +17,11 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
17
17
  assert_equal Date.new(2011, 12, 1) + 18.hours + 5.minutes, product.front_cover.datestamp
18
18
  assert_equal 667, product.front_cover.eid
19
19
 
20
- assert_equal "sample_content", product.supporting_resources[1].content_type_name
20
+ assert_equal "widget", product.supporting_resources[1].content_type_name
21
21
  assert_equal "text", product.supporting_resources[1].mode_name
22
- assert_equal "downloadable_file", product.supporting_resources[1].form_name
22
+ assert_equal "embeddable_application", product.supporting_resources[1].form_name
23
+
24
+ assert product.preview_exists?
23
25
  end
24
26
 
25
27
  end
@@ -411,7 +411,7 @@
411
411
  <Tax>
412
412
  <!-- VAT -->
413
413
  <TaxType>01</TaxType>
414
- <TaxRatePercent>7</TaxRatePercent>
414
+ <TaxRatePercent>5</TaxRatePercent>
415
415
  </Tax>
416
416
  <CurrencyCode>PLN</CurrencyCode>
417
417
  <!-- Cena na okładce?
@@ -0,0 +1,261 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ONIXMessage xmlns="http://ns.editeur.org/onix/3.0/reference" release="3.0">
3
+ <Header>
4
+ <Sender>
5
+ <SenderName>Elibri.com.pl</SenderName>
6
+ <ContactName>Tomasz Meka</ContactName>
7
+ <EmailAddress>kontakt@elibri.com.pl</EmailAddress>
8
+ </Sender>
9
+ <SentDateTime>20190815</SentDateTime>
10
+ </Header>
11
+ <Product>
12
+ <RecordReference>9a9248d4afcdb69d44ce</RecordReference>
13
+ <!--NotificationType: CONFIRMED_ON_PUBLICATION--><NotificationType>03</NotificationType>
14
+ <ProductIdentifier>
15
+ <!--ProductIDType: ISBN13--><ProductIDType>15</ProductIDType>
16
+ <IDValue>9788380625952</IDValue>
17
+ </ProductIdentifier>
18
+ <DescriptiveDetail>
19
+ <ProductComposition>00</ProductComposition>
20
+ <ProductForm>AJ</ProductForm>
21
+ <!--EpubTechnicalProtection: WATERMARK--><EpubTechnicalProtection>02</EpubTechnicalProtection>
22
+ <Collection>
23
+ <!--CollectionType: PUBLISHER_COLLECTION--><CollectionType>10</CollectionType>
24
+ <TitleDetail>
25
+ <!--TitleType: DISTINCTIVE_TITLE--><TitleType>01</TitleType>
26
+ <TitleElement>
27
+ <!--TitleElementLevel: COLLECTION--><TitleElementLevel>02</TitleElementLevel>
28
+ <TitleText>s-f</TitleText>
29
+ </TitleElement>
30
+ </TitleDetail>
31
+ </Collection>
32
+ <TitleDetail>
33
+ <!--TitleType: DISTINCTIVE_TITLE--><TitleType>01</TitleType>
34
+ <TitleElement>
35
+ <!--TitleElementLevel: PRODUCT--><TitleElementLevel>01</TitleElementLevel>
36
+ <TitleText>Kwiaty dla Algernona</TitleText>
37
+ </TitleElement>
38
+ </TitleDetail>
39
+ <TitleDetail>
40
+ <!--TitleType: ORIGINAL_TITLE--><TitleType>03</TitleType>
41
+ <TitleElement>
42
+ <!--TitleElementLevel: PRODUCT--><TitleElementLevel>01</TitleElementLevel>
43
+ <TitleText>Flowers for Algernon</TitleText>
44
+ </TitleElement>
45
+ </TitleDetail>
46
+ <TitleDetail>
47
+ <!--TitleType: DISTRIBUTORS_TITLE--><TitleType>10</TitleType>
48
+ <TitleElement>
49
+ <!--TitleElementLevel: PRODUCT--><TitleElementLevel>01</TitleElementLevel>
50
+ <TitleText>KWIATY DLA ALGERNONA</TitleText>
51
+ </TitleElement>
52
+ </TitleDetail>
53
+ <Contributor sourcename="contributorid:221076" datestamp="20190614T0946">
54
+ <SequenceNumber>1</SequenceNumber>
55
+ <!--ContributorRole: AUTHOR--><ContributorRole>A01</ContributorRole>
56
+ <PersonName>Daniel Keyes</PersonName>
57
+ <NamesBeforeKey>Daniel</NamesBeforeKey>
58
+ <KeyNames>Keyes</KeyNames>
59
+ <BiographicalNote>&lt;p&gt;
60
+ Daniel Keyes (1927-2014) – amerykański pisarz. Jego opowiadanie &lt;em&gt;Kwiaty dla Algernona&lt;/em&gt; otrzymało nagrodę Hugo w 1960 roku. Rozwinięte do formy powieści pod tym samym tytułem doczekało się z kolei nagrody Nebula w roku 1966, a dwa lata później zostało zekranizowane jako &lt;em&gt;Charly&lt;/em&gt;. Keyes opublikował także m.in. obsypaną nagrodami książkę non-fiction &lt;em&gt;Człowiek o 24 twarzach.&lt;/em&gt;&lt;/p&gt;
61
+
62
+ </BiographicalNote>
63
+ </Contributor>
64
+ <Contributor sourcename="contributorid:221077" datestamp="20190614T0946">
65
+ <SequenceNumber>2</SequenceNumber>
66
+ <!--ContributorRole: TRANSLATOR--><ContributorRole>B06</ContributorRole>
67
+ <FromLanguage>eng</FromLanguage>
68
+ <PersonName>Krzysztof Sokołowski</PersonName>
69
+ <NamesBeforeKey>Krzysztof</NamesBeforeKey>
70
+ <KeyNames>Sokołowski</KeyNames>
71
+ </Contributor>
72
+ <Contributor sourcename="contributorid:221078" datestamp="20190705T1500">
73
+ <SequenceNumber>3</SequenceNumber>
74
+ <!--ContributorRole: READ_BY--><ContributorRole>E07</ContributorRole>
75
+ <PersonName>Maciej Kowalik</PersonName>
76
+ <NamesBeforeKey>Maciej</NamesBeforeKey>
77
+ <KeyNames>Kowalik</KeyNames>
78
+ </Contributor>
79
+ <Language>
80
+ <!--LanguageRole: LANGUAGE_OF_TEXT--><LanguageRole>01</LanguageRole>
81
+ <!--LanguageCode: Polish--><LanguageCode>pol</LanguageCode>
82
+ </Language>
83
+ <Extent>
84
+ <!--ExtentType: FILE_SIZE--><ExtentType>22</ExtentType>
85
+ <ExtentValue>489.0</ExtentValue>
86
+ <!--ExtentUnit: MEGABYTES--><ExtentUnit>19</ExtentUnit>
87
+ </Extent>
88
+ <Extent>
89
+ <!--ExtentType: DURATION--><ExtentType>09</ExtentType>
90
+ <ExtentValue>524</ExtentValue>
91
+ <!--ExtentUnit: MINUTES--><ExtentUnit>05</ExtentUnit>
92
+ </Extent>
93
+ <Subject>
94
+ <MainSubject/>
95
+ <!--SubjectSchemeIdentifier: PROPRIETARY--><SubjectSchemeIdentifier>24</SubjectSchemeIdentifier>
96
+ <SubjectSchemeName>elibri.com.pl</SubjectSchemeName>
97
+ <SubjectSchemeVersion>1.0</SubjectSchemeVersion>
98
+ <SubjectCode>613</SubjectCode>
99
+ <SubjectHeadingText>Literatura piękna / Fantastyka / Science Fiction</SubjectHeadingText>
100
+ </Subject>
101
+ <Subject>
102
+ <!--SubjectSchemeIdentifier: THEMA--><SubjectSchemeIdentifier>93</SubjectSchemeIdentifier>
103
+ <SubjectSchemeVersion>1.3</SubjectSchemeVersion>
104
+ <SubjectCode>FL</SubjectCode>
105
+ <SubjectHeadingText>Proza fabularna / Fantastyka naukowa (science fiction)</SubjectHeadingText>
106
+ </Subject>
107
+ <Subject>
108
+ <!--SubjectSchemeIdentifier: THEMA--><SubjectSchemeIdentifier>93</SubjectSchemeIdentifier>
109
+ <SubjectSchemeVersion>1.3</SubjectSchemeVersion>
110
+ <SubjectCode>FLC</SubjectCode>
111
+ <SubjectHeadingText>Proza fabularna / Fantastyka naukowa (science fiction) / Klasyka fantastyki naukowej</SubjectHeadingText>
112
+ </Subject>
113
+ <Subject>
114
+ <!--SubjectSchemeIdentifier: PROPRIETARY--><SubjectSchemeIdentifier>24</SubjectSchemeIdentifier>
115
+ <SubjectSchemeName>Rebis</SubjectSchemeName>
116
+ <SubjectCode>614</SubjectCode>
117
+ <SubjectHeadingText>Science Fiction</SubjectHeadingText>
118
+ </Subject>
119
+ </DescriptiveDetail>
120
+ <CollateralDetail>
121
+ <TextContent sourcename="textid:122995" datestamp="20190614T0946">
122
+ <TextType>03</TextType>
123
+ <!--ContentAudience: UNRESTRICTED--><ContentAudience>00</ContentAudience>
124
+ <Text>
125
+ <![CDATA[<p>
126
+ <strong>Książka została sprzedana w ponad 5 milionach egzemplarzy, przetłumaczona na 27 języków, wydana w ponad 30 krajach.</strong></p>
127
+ <p>
128
+ Tekst wyróżniono najważniejszymi nagrodami w świecie science fiction: Hugo (opowiadanie) i Nebula (powieść). Ta ponadczasowa opowieść doczekała się kilkunastu adaptacji filmowych i teatralnych na całym świecie.</p>
129
+ <p>
130
+ Trzydziestodwuletni Charlie Gordon jest upośledzony umysłowo, ma iloraz inteligencji na poziomie 68 punktów. Uczy się czytać i pisać na zajęciach w Beekman College. Dwaj naukowcy z tej uczelni, doktor Nemur i doktor Strauss, prowadzą badania nad wzrostem inteligencji. Udało im się już za pomocą zabiegu chirurgicznego zwiększyć zdolności umysłowe myszy o imieniu Algernon i teraz chcą przeprowadzić taki sam eksperyment z człowiekiem.</p>
131
+ <p>
132
+ „Wielka literatura. Historia i główny bohater pozostają ze mną od kilkudziesięciu lat, od chwili, gdy przeczytałem książkę” - Conn Iggulden.</p>
133
+ <p>
134
+ „Arcydzieło poruszającej błyskotliwości (…) chwytające za serce i całkowicie, bezdyskusyjnie znakomite” - „The Guardian”</p>
135
+ <p>
136
+ „Przejmująco szczera. Skłoni cię do refleksji nad twoim życiem i złamie ci serce” - „The Guardian Online”</p>
137
+ <p>
138
+ „Uderzająco oryginalna” - „Publishers Weekly”</p>
139
+ <p>
140
+ „Przekonująca i poruszająca opowieść” - „New York Times”</p>
141
+ ]]>
142
+ </Text>
143
+ </TextContent>
144
+ <SupportingResource sourcename="resourceid:139506" datestamp="20190628T1219">
145
+ <!--ResourceContentType: FRONT_COVER--><ResourceContentType>01</ResourceContentType>
146
+ <!--ContentAudience: UNRESTRICTED--><ContentAudience>00</ContentAudience>
147
+ <!--ResourceMode: IMAGE--><ResourceMode>03</ResourceMode>
148
+ <ResourceVersion>
149
+ <!--ResourceForm: DOWNLOADABLE_FILE--><ResourceForm>02</ResourceForm>
150
+ <ResourceLink>http://www.elibri.com.pl/system/product_attachments/production/000/139/506/original/f0664143/kwiaty_dla_algernona_okladka_mp3.jpg</ResourceLink>
151
+ <ContentDate>
152
+ <!--ContentDateRole: LAST_UPDATED--><ContentDateRole>17</ContentDateRole>
153
+ <Date dateformat="00">20190628</Date>
154
+ </ContentDate>
155
+ </ResourceVersion>
156
+ </SupportingResource>
157
+ <SupportingResource>
158
+ <!--ResourceContentType: SAMPLE_CONTENT--><ResourceContentType>15</ResourceContentType>
159
+ <!--ContentAudience: UNRESTRICTED--><ContentAudience>00</ContentAudience>
160
+ <!--ResourceMode: AUDIO--><ResourceMode>02</ResourceMode>
161
+ <ResourceVersion>
162
+ <!--ResourceForm: DOWNLOADABLE_FILE--><ResourceForm>02</ResourceForm>
163
+ <ResourceVersionFeature>
164
+ <!--ResourceVersionFeatureType: FILE_FORMAT--><ResourceVersionFeatureType>01</ResourceVersionFeatureType>
165
+ <FeatureValue>A103</FeatureValue>
166
+ </ResourceVersionFeature>
167
+ <ResourceVersionFeature>
168
+ <!--ResourceVersionFeatureType: MD5_HASH_VALUE--><ResourceVersionFeatureType>06</ResourceVersionFeatureType>
169
+ <FeatureValue>0bf20c528f323dd2a6d91627ccddf52e</FeatureValue>
170
+ </ResourceVersionFeature>
171
+ <ResourceVersionFeature>
172
+ <!--ResourceVersionFeatureType: SIZE_IN_BYTES--><ResourceVersionFeatureType>07</ResourceVersionFeatureType>
173
+ <FeatureValue>2589928</FeatureValue>
174
+ </ResourceVersionFeature>
175
+ <ResourceLink>https://www.elibri.com.pl/excerpt/109048/0bf20c528f323dd2a6d91627ccddf52e/kwiaty-dla-algernona-fragment.mp3</ResourceLink>
176
+ <ContentDate>
177
+ <!--ContentDateRole: LAST_UPDATED--><ContentDateRole>17</ContentDateRole>
178
+ <Date dateformat="13">20190712T2158Z</Date>
179
+ </ContentDate>
180
+ </ResourceVersion>
181
+ </SupportingResource>
182
+ </CollateralDetail>
183
+ <PublishingDetail>
184
+ <Publisher>
185
+ <PublishingRole>01</PublishingRole>
186
+ <PublisherIdentifier>
187
+ <PublisherIDType>01</PublisherIDType>
188
+ <IDTypeName>ElibriPublisherCode</IDTypeName>
189
+ <IDValue>17</IDValue>
190
+ </PublisherIdentifier>
191
+ <PublisherName>Rebis</PublisherName>
192
+ </Publisher>
193
+ <CityOfPublication>Poznań</CityOfPublication>
194
+ <PublishingStatus>04</PublishingStatus>
195
+ <PublishingDate>
196
+ <!--PublishingDateRole: PUBLICATION_DATE--><PublishingDateRole>01</PublishingDateRole>
197
+ <!--DateFormat: YYYYMMDD--><DateFormat>00</DateFormat>
198
+ <Date dateformat="00">20190724</Date>
199
+ </PublishingDate>
200
+ <PublishingDate>
201
+ <PublishingDateRole>13</PublishingDateRole>
202
+ <DateFormat>00</DateFormat>
203
+ <Date dateformat="00">20250307</Date>
204
+ </PublishingDate>
205
+ <SalesRights>
206
+ <SalesRightsType>01</SalesRightsType>
207
+ <Territory>
208
+ <RegionsIncluded>WORLD</RegionsIncluded>
209
+ </Territory>
210
+ </SalesRights>
211
+ </PublishingDetail>
212
+ <RelatedMaterial>
213
+ <RelatedProduct>
214
+ <ProductRelationCode>24</ProductRelationCode>
215
+ <ProductIdentifier>
216
+ <!--ProductIDType: PROPRIETARY--><ProductIDType>01</ProductIDType>
217
+ <IDTypeName>elibri</IDTypeName>
218
+ <IDValue>9be82a96d04d2ace41c9</IDValue>
219
+ </ProductIdentifier>
220
+ </RelatedProduct>
221
+ <RelatedProduct>
222
+ <ProductRelationCode>24</ProductRelationCode>
223
+ <ProductIdentifier>
224
+ <!--ProductIDType: PROPRIETARY--><ProductIDType>01</ProductIDType>
225
+ <IDTypeName>elibri</IDTypeName>
226
+ <IDValue>dc7c5f11116598b68463</IDValue>
227
+ </ProductIdentifier>
228
+ </RelatedProduct>
229
+ <RelatedProduct>
230
+ <ProductRelationCode>24</ProductRelationCode>
231
+ <ProductIdentifier>
232
+ <!--ProductIDType: PROPRIETARY--><ProductIDType>01</ProductIDType>
233
+ <IDTypeName>elibri</IDTypeName>
234
+ <IDValue>cd969a1053fad586ae1f</IDValue>
235
+ </ProductIdentifier>
236
+ </RelatedProduct>
237
+ </RelatedMaterial>
238
+ <ProductSupply>
239
+ <SupplyDetail>
240
+ <Supplier>
241
+ <!--SupplierRole: PUB_TO_RET--><SupplierRole>01</SupplierRole>
242
+ <SupplierIdentifier>
243
+ <SupplierIDType>23</SupplierIDType>
244
+ <IDValue>PL7790000847</IDValue>
245
+ </SupplierIdentifier>
246
+ <SupplierName>Rebis</SupplierName>
247
+ </Supplier>
248
+ <ProductAvailability>20</ProductAvailability>
249
+ <Price>
250
+ <PriceType>02</PriceType>
251
+ <PriceAmount>34.9</PriceAmount>
252
+ <Tax>
253
+ <TaxType>01</TaxType>
254
+ <TaxRatePercent>23</TaxRatePercent>
255
+ </Tax>
256
+ <CurrencyCode>PLN</CurrencyCode>
257
+ </Price>
258
+ </SupplyDetail>
259
+ </ProductSupply>
260
+ </Product>
261
+ </ONIXMessage>
@@ -0,0 +1,81 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ONIXMessage release="3.0" xmlns="http://ns.editeur.org/onix/3.0/reference" xmlns:elibri="http://elibri.com.pl/ns/extensions">
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>20190729</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>BB</ProductForm>
22
+ <ProductFormDetail>B501</ProductFormDetail>
23
+ <ProductClassification>
24
+ <ProductClassificationType>12</ProductClassificationType>
25
+ <ProductClassificationCode>58.11.1</ProductClassificationCode>
26
+ </ProductClassification>
27
+ <TitleDetail>
28
+ <TitleType>01</TitleType>
29
+ <TitleElement>
30
+ <TitleElementLevel>01</TitleElementLevel>
31
+ <TitleText>Nielegalni</TitleText>
32
+ </TitleElement>
33
+ </TitleDetail>
34
+ </DescriptiveDetail>
35
+ <PublishingDetail>
36
+ <Publisher>
37
+ <PublishingRole>01</PublishingRole>
38
+ <PublisherIdentifier>
39
+ <PublisherIDType>01</PublisherIDType>
40
+ <IDTypeName>ElibriPublisherCode</IDTypeName>
41
+ <IDValue>11</IDValue>
42
+ </PublisherIdentifier>
43
+ <PublisherName>GREG</PublisherName>
44
+ </Publisher>
45
+ <CityOfPublication>Warszawa</CityOfPublication>
46
+ <PublishingStatus>04</PublishingStatus>
47
+ <SalesRights>
48
+ <SalesRightsType>01</SalesRightsType>
49
+ <Territory>
50
+ <RegionsIncluded>WORLD</RegionsIncluded>
51
+ </Territory>
52
+ </SalesRights>
53
+ </PublishingDetail>
54
+ <ProductSupply>
55
+ <SupplyDetail>
56
+ <Supplier>
57
+ <SupplierRole>01</SupplierRole>
58
+ <SupplierIdentifier>
59
+ <SupplierIDType>23</SupplierIDType>
60
+ <IDValue>PL6782821670</IDValue>
61
+ </SupplierIdentifier>
62
+ <SupplierName>GREG</SupplierName>
63
+ </Supplier>
64
+ <SupplierOwnCoding>
65
+ <SupplierCodeType>01</SupplierCodeType>
66
+ <SupplierCodeValue>PROMO 20</SupplierCodeValue>
67
+ </SupplierOwnCoding>
68
+ <ProductAvailability>99</ProductAvailability>
69
+ <Price>
70
+ <PriceType>02</PriceType>
71
+ <PriceAmount>12.99</PriceAmount>
72
+ <Tax>
73
+ <TaxType>01</TaxType>
74
+ <TaxRatePercent>5</TaxRatePercent>
75
+ </Tax>
76
+ <CurrencyCode>PLN</CurrencyCode>
77
+ </Price>
78
+ </SupplyDetail>
79
+ </ProductSupply>
80
+ </Product>
81
+ </ONIXMessage>
@@ -0,0 +1,110 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ONIXMessage release="3.0" xmlns="http://ns.editeur.org/onix/3.0/reference">
3
+ <Header>
4
+ <Sender>
5
+ <SenderName>Elibri.com.pl</SenderName>
6
+ <ContactName>Tomasz Meka</ContactName>
7
+ <EmailAddress>kontakt@elibri.com.pl</EmailAddress>
8
+ </Sender>
9
+ <SentDateTime>20190729</SentDateTime>
10
+ </Header>
11
+ <Product>
12
+ <RecordReference>fdb8fa072be774d97a97</RecordReference>
13
+ <NotificationType>03</NotificationType>
14
+ <ProductIdentifier>
15
+ <ProductIDType>15</ProductIDType>
16
+ <IDValue>9788324799992</IDValue>
17
+ </ProductIdentifier>
18
+ <DescriptiveDetail>
19
+ <ProductComposition>00</ProductComposition>
20
+ <ProductForm>BA</ProductForm>
21
+ <TitleDetail>
22
+ <TitleType>01</TitleType>
23
+ <TitleElement>
24
+ <TitleElementLevel>01</TitleElementLevel>
25
+ <TitleText>Nielegalni</TitleText>
26
+ </TitleElement>
27
+ </TitleDetail>
28
+ <Subject>
29
+ <MainSubject/>
30
+ <SubjectSchemeIdentifier>24</SubjectSchemeIdentifier>
31
+ <SubjectSchemeName>elibri.com.pl</SubjectSchemeName>
32
+ <SubjectSchemeVersion>1.0</SubjectSchemeVersion>
33
+ <SubjectCode>1110</SubjectCode>
34
+ <SubjectHeadingText>Historia / II Wojna Światowa / Ruch oporu</SubjectHeadingText>
35
+ </Subject>
36
+ <Subject>
37
+ <SubjectSchemeIdentifier>24</SubjectSchemeIdentifier>
38
+ <SubjectSchemeName>elibri.com.pl</SubjectSchemeName>
39
+ <SubjectSchemeVersion>1.0</SubjectSchemeVersion>
40
+ <SubjectCode>491</SubjectCode>
41
+ <SubjectHeadingText>Szkoła i nauczanie / Lektury szkolne z opracowaniami</SubjectHeadingText>
42
+ </Subject>
43
+ <Subject>
44
+ <SubjectSchemeIdentifier>93</SubjectSchemeIdentifier>
45
+ <SubjectSchemeVersion>1.3</SubjectSchemeVersion>
46
+ <SubjectCode>JWCM</SubjectCode>
47
+ <SubjectHeadingText>Społeczeństwo i nauki społeczne / Działania wojenne i obronność / Siły zbrojne / Lotnictwo wojskowe i wojna w powietrzu</SubjectHeadingText>
48
+ </Subject>
49
+ <Subject>
50
+ <SubjectSchemeIdentifier>94</SubjectSchemeIdentifier>
51
+ <SubjectSchemeVersion>1.3</SubjectSchemeVersion>
52
+ <SubjectCode>1DTP</SubjectCode>
53
+ <SubjectHeadingText>Kwalifikatory geograficzne / Europa / Europa Wschodnia / Polska</SubjectHeadingText>
54
+ </Subject>
55
+ <Subject>
56
+ <SubjectSchemeIdentifier>96</SubjectSchemeIdentifier>
57
+ <SubjectSchemeVersion>1.3</SubjectSchemeVersion>
58
+ <SubjectCode>3MPBGH</SubjectCode>
59
+ <SubjectHeadingText>Kwalifikatory chronologiczne / od ok. 1500 do dzisiaj / XX wiek (ok. 1900–1999) / 1. poł. XX wieku (ok. 1900–1950) / Dwudziestolecie międzywojenne (ok. 1919–1939) / ok. 1920–1929</SubjectHeadingText>
60
+ </Subject>
61
+ <Subject>
62
+ <SubjectSchemeIdentifier>24</SubjectSchemeIdentifier>
63
+ <SubjectSchemeName>GREG</SubjectSchemeName>
64
+ <SubjectCode>191</SubjectCode>
65
+ <SubjectHeadingText>Beletrystyka: Horror</SubjectHeadingText>
66
+ </Subject>
67
+ </DescriptiveDetail>
68
+ <PublishingDetail>
69
+ <Publisher>
70
+ <PublishingRole>01</PublishingRole>
71
+ <PublisherIdentifier>
72
+ <PublisherIDType>01</PublisherIDType>
73
+ <IDTypeName>ElibriPublisherCode</IDTypeName>
74
+ <IDValue>11</IDValue>
75
+ </PublisherIdentifier>
76
+ <PublisherName>GREG</PublisherName>
77
+ </Publisher>
78
+ <CityOfPublication>Warszawa</CityOfPublication>
79
+ <PublishingStatus>04</PublishingStatus>
80
+ <SalesRights>
81
+ <SalesRightsType>01</SalesRightsType>
82
+ <Territory>
83
+ <RegionsIncluded>WORLD</RegionsIncluded>
84
+ </Territory>
85
+ </SalesRights>
86
+ </PublishingDetail>
87
+ <ProductSupply>
88
+ <SupplyDetail>
89
+ <Supplier>
90
+ <SupplierRole>01</SupplierRole>
91
+ <SupplierIdentifier>
92
+ <SupplierIDType>23</SupplierIDType>
93
+ <IDValue>PL6782821670</IDValue>
94
+ </SupplierIdentifier>
95
+ <SupplierName>GREG</SupplierName>
96
+ </Supplier>
97
+ <ProductAvailability>99</ProductAvailability>
98
+ <Price>
99
+ <PriceType>02</PriceType>
100
+ <PriceAmount>12.99</PriceAmount>
101
+ <Tax>
102
+ <TaxType>01</TaxType>
103
+ <TaxRatePercent>5</TaxRatePercent>
104
+ </Tax>
105
+ <CurrencyCode>PLN</CurrencyCode>
106
+ </Price>
107
+ </SupplyDetail>
108
+ </ProductSupply>
109
+ </Product>
110
+ </ONIXMessage>