@natlibfi/ekirjasto-opds-feed-parser 0.0.0-post.148 → 0.0.0-post.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +10 -6
- package/.github/CODEOWNERS +0 -4
- package/.github/pull_request_template.md +0 -12
- package/.github/workflows/release.yml +0 -102
- package/.github/workflows/test.yml +0 -23
- package/requirements-ci.txt +0 -1
- package/test/accessibility_parser_test.ts +0 -450
- package/test/availability_parser_test.ts +0 -32
- package/test/category_parser_test.ts +0 -30
- package/test/contributor_parser_test.ts +0 -44
- package/test/copies_parser_test.ts +0 -30
- package/test/entry_parser_test.ts +0 -272
- package/test/feed_parser_test.ts +0 -244
- package/test/files/accessibility.xml +0 -13
- package/test/files/acquisition.xml +0 -426
- package/test/files/entry.xml +0 -43
- package/test/files/navigation.xml +0 -56
- package/test/holds_parser_test.ts +0 -30
- package/test/indirect_acquisition_parser_test.ts +0 -46
- package/test/link_parser_test.ts +0 -324
- package/test/namespace_parser_test.ts +0 -41
- package/test/opds_parser_test.ts +0 -153
- package/test/price_parser_test.ts +0 -30
- package/test/series_parser_test.ts +0 -30
- package/tsconfig.json +0 -15
- package/tslint.json +0 -54
- package/typings.json +0 -8
|
@@ -1,426 +0,0 @@
|
|
|
1
|
-
<feed xmlns:dcterms="http://purl.org/dc/terms/" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:opds="http://opds-spec.org/2010/catalog" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
|
2
|
-
<id>main.xml</id>
|
|
3
|
-
<title>First Acquisition Feed</title>
|
|
4
|
-
<updated>2012-10-20T01:11:18Z</updated>
|
|
5
|
-
<author>
|
|
6
|
-
<name>Hadrien Gardeur</name>
|
|
7
|
-
<uri>https://github.com/Feedbooks</uri>
|
|
8
|
-
</author>
|
|
9
|
-
<link type="application/atom+xml; profile=opds-catalog; kind=acquisition" rel="self" href="main.xml"/>
|
|
10
|
-
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="start" href="../root.xml"/>
|
|
11
|
-
<link type="application/opensearchdescription+xml" title="Search on test catalog" rel="search" href="../opensearch.xml"/>
|
|
12
|
-
<link type="application/atom+xml; profile=opds-catalog; kind=acquisition" rel="next" href="page2.xml"/>
|
|
13
|
-
<opensearch:totalResults>18</opensearch:totalResults>
|
|
14
|
-
<entry>
|
|
15
|
-
<title>Pride and Prejudice</title>
|
|
16
|
-
<id>http://feedbooks.github.io/test/1</id>
|
|
17
|
-
<author>
|
|
18
|
-
<name>Jane Austen</name>
|
|
19
|
-
</author>
|
|
20
|
-
<accessibility>
|
|
21
|
-
<waysOfReading>
|
|
22
|
-
<feature>Appearance can be modified</feature>
|
|
23
|
-
<feature>Has alternative text</feature>
|
|
24
|
-
<feature>Not fully readable in read aloud or dynamic braille</feature>
|
|
25
|
-
</waysOfReading>
|
|
26
|
-
<conformance>
|
|
27
|
-
<conformsTo>This publication meets accepted accessibility standards</conformsTo>
|
|
28
|
-
</conformance>
|
|
29
|
-
</accessibility>
|
|
30
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
31
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
32
|
-
<dcterms:language>en</dcterms:language>
|
|
33
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
34
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
35
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
36
|
-
<content type="html">
|
|
37
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
38
|
-
</content>
|
|
39
|
-
<rights>
|
|
40
|
-
This work is available for countries where copyright is Life+70 and in the USA.
|
|
41
|
-
</rights>
|
|
42
|
-
<dcterms:extent>120,697 words</dcterms:extent>
|
|
43
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition" href="http://www.feedbooks.com/book/52.epub"/>
|
|
44
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
45
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
46
|
-
<link type="text/html" rel="related" href="http://www.feedbooks.com/book/52" title="Some link for the test"/>
|
|
47
|
-
</entry>
|
|
48
|
-
<entry>
|
|
49
|
-
<title>Partial and Full entry</title>
|
|
50
|
-
<id>http://feedbooks.github.io/test/2</id>
|
|
51
|
-
<author>
|
|
52
|
-
<name>Jane Austen</name>
|
|
53
|
-
</author>
|
|
54
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
55
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
56
|
-
<dcterms:language>en</dcterms:language>
|
|
57
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
58
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
59
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
60
|
-
<summary>
|
|
61
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when y...
|
|
62
|
-
</summary>
|
|
63
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition" href="http://www.feedbooks.com/book/52.epub"/>
|
|
64
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
65
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
66
|
-
<link type="application/atom+xml;type=entry;profile=opds-catalog" title="Full entry" rel="alternate" href="entry.xml"/>
|
|
67
|
-
</entry>
|
|
68
|
-
<entry>
|
|
69
|
-
<title>Metadata: Summary Only</title>
|
|
70
|
-
<id>http://feedbooks.github.io/test/3</id>
|
|
71
|
-
<author>
|
|
72
|
-
<name>Jane Austen</name>
|
|
73
|
-
</author>
|
|
74
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
75
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
76
|
-
<dcterms:language>en</dcterms:language>
|
|
77
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
78
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
79
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
80
|
-
<summary>
|
|
81
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when y...
|
|
82
|
-
</summary>
|
|
83
|
-
<rights>
|
|
84
|
-
This work is available for countries where copyright is Life+70 and in the USA.
|
|
85
|
-
</rights>
|
|
86
|
-
<dcterms:extent>120,697 words</dcterms:extent>
|
|
87
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition" href="http://www.feedbooks.com/book/52.epub"/>
|
|
88
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
89
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
90
|
-
<link type="text/html" rel="related" href="http://www.feedbooks.com/book/52" title="Some link for the test"/>
|
|
91
|
-
</entry>
|
|
92
|
-
<entry>
|
|
93
|
-
<title>Metadata: Summary vs Description</title>
|
|
94
|
-
<id>http://feedbooks.github.io/test/4</id>
|
|
95
|
-
<author>
|
|
96
|
-
<name>Jane Austen</name>
|
|
97
|
-
</author>
|
|
98
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
99
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
100
|
-
<dcterms:language>en</dcterms:language>
|
|
101
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
102
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
103
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
104
|
-
<summary>
|
|
105
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when y...
|
|
106
|
-
</summary>
|
|
107
|
-
<content type="html">
|
|
108
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
109
|
-
</content>
|
|
110
|
-
<rights>
|
|
111
|
-
This work is available for countries where copyright is Life+70 and in the USA.
|
|
112
|
-
</rights>
|
|
113
|
-
<dcterms:extent>120,697 words</dcterms:extent>
|
|
114
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition" href="http://www.feedbooks.com/book/52.epub"/>
|
|
115
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
116
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
117
|
-
<link type="text/html" rel="related" href="http://www.feedbooks.com/book/52" title="Some link for the test"/>
|
|
118
|
-
</entry>
|
|
119
|
-
<entry>
|
|
120
|
-
<title>Metadata: Contributor</title>
|
|
121
|
-
<id>http://feedbooks.github.io/test/5</id>
|
|
122
|
-
<contributor>
|
|
123
|
-
<name>Jane Austen</name>
|
|
124
|
-
</contributor>
|
|
125
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
126
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
127
|
-
<dcterms:language>en</dcterms:language>
|
|
128
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
129
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
130
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
131
|
-
<content type="html">
|
|
132
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
133
|
-
</content>
|
|
134
|
-
<rights>
|
|
135
|
-
This work is available for countries where copyright is Life+70 and in the USA.
|
|
136
|
-
</rights>
|
|
137
|
-
<dcterms:extent>120,697 words</dcterms:extent>
|
|
138
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition" href="http://www.feedbooks.com/book/52.epub"/>
|
|
139
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
140
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
141
|
-
<link type="text/html" rel="related" href="http://www.feedbooks.com/book/52" title="Some link for the test"/>
|
|
142
|
-
</entry>
|
|
143
|
-
<entry>
|
|
144
|
-
<title>Metadata: No Label</title>
|
|
145
|
-
<id>http://feedbooks.github.io/test/6</id>
|
|
146
|
-
<author>
|
|
147
|
-
<name>Jane Austen</name>
|
|
148
|
-
</author>
|
|
149
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
150
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
151
|
-
<dcterms:language>en</dcterms:language>
|
|
152
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
153
|
-
<category term="FBFIC000000"/>
|
|
154
|
-
<category term="FBFIC027000"/>
|
|
155
|
-
<content type="html">
|
|
156
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
157
|
-
</content>
|
|
158
|
-
<rights>
|
|
159
|
-
This work is available for countries where copyright is Life+70 and in the USA.
|
|
160
|
-
</rights>
|
|
161
|
-
<dcterms:extent>120,697 words</dcterms:extent>
|
|
162
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition" href="http://www.feedbooks.com/book/52.epub"/>
|
|
163
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
164
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
165
|
-
<link type="text/html" rel="related" href="http://www.feedbooks.com/book/52" title="Some link for the test"/>
|
|
166
|
-
</entry>
|
|
167
|
-
<entry>
|
|
168
|
-
<title>Acquisition: Open Access</title>
|
|
169
|
-
<id>http://feedbooks.github.io/test/7</id>
|
|
170
|
-
<author>
|
|
171
|
-
<name>Jane Austen</name>
|
|
172
|
-
</author>
|
|
173
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
174
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
175
|
-
<dcterms:language>en</dcterms:language>
|
|
176
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
177
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
178
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
179
|
-
<content type="html">
|
|
180
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
181
|
-
</content>
|
|
182
|
-
<rights>
|
|
183
|
-
This work is available for countries where copyright is Life+70 and in the USA.
|
|
184
|
-
</rights>
|
|
185
|
-
<dcterms:extent>120,697 words</dcterms:extent>
|
|
186
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition/open-access" href="http://www.feedbooks.com/book/52.epub"/>
|
|
187
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
188
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
189
|
-
<link type="text/html" rel="related" href="http://www.feedbooks.com/book/52" title="Some link for the test"/>
|
|
190
|
-
</entry>
|
|
191
|
-
<entry>
|
|
192
|
-
<title>Acquisition: Sample</title>
|
|
193
|
-
<id>http://feedbooks.github.io/test/8</id>
|
|
194
|
-
<author>
|
|
195
|
-
<name>Jane Austen</name>
|
|
196
|
-
</author>
|
|
197
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
198
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
199
|
-
<dcterms:language>en</dcterms:language>
|
|
200
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
201
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
202
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
203
|
-
<content type="html">
|
|
204
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
205
|
-
</content>
|
|
206
|
-
<rights>
|
|
207
|
-
This work is available for countries where copyright is Life+70 and in the USA.
|
|
208
|
-
</rights>
|
|
209
|
-
<dcterms:extent>120,697 words</dcterms:extent>
|
|
210
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition/sample" href="http://www.feedbooks.com/book/52.epub"/>
|
|
211
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
212
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
213
|
-
<link type="text/html" rel="related" href="http://www.feedbooks.com/book/52" title="Some link for the test"/>
|
|
214
|
-
</entry>
|
|
215
|
-
<entry>
|
|
216
|
-
<title>Acquisition: Buy</title>
|
|
217
|
-
<id>http://feedbooks.github.io/test/9</id>
|
|
218
|
-
<author>
|
|
219
|
-
<name>Jane Austen</name>
|
|
220
|
-
</author>
|
|
221
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
222
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
223
|
-
<dcterms:language>en</dcterms:language>
|
|
224
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
225
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
226
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
227
|
-
<content type="html">
|
|
228
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
229
|
-
</content>
|
|
230
|
-
<rights>
|
|
231
|
-
This work is available for countries where copyright is Life+70 and in the USA.
|
|
232
|
-
</rights>
|
|
233
|
-
<dcterms:extent>120,697 words</dcterms:extent>
|
|
234
|
-
<link type="text/html" rel="http://opds-spec.org/acquisition/buy" href="http://www.feedbooks.com/book/52">
|
|
235
|
-
<opds:price currencycode="USD">10.99</opds:price>
|
|
236
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
237
|
-
</link>
|
|
238
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
239
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
240
|
-
<link type="text/html" rel="related" href="http://www.feedbooks.com/book/52" title="Some link for the test"/>
|
|
241
|
-
</entry>
|
|
242
|
-
<entry>
|
|
243
|
-
<title>Acquisition: Subscribe</title>
|
|
244
|
-
<id>http://feedbooks.github.io/test/10</id>
|
|
245
|
-
<author>
|
|
246
|
-
<name>Jane Austen</name>
|
|
247
|
-
</author>
|
|
248
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
249
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
250
|
-
<dcterms:language>en</dcterms:language>
|
|
251
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
252
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
253
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
254
|
-
<content type="html">
|
|
255
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
256
|
-
</content>
|
|
257
|
-
<rights>
|
|
258
|
-
This work is available for countries where copyright is Life+70 and in the USA.
|
|
259
|
-
</rights>
|
|
260
|
-
<dcterms:extent>120,697 words</dcterms:extent>
|
|
261
|
-
<link type="text/html" rel="http://opds-spec.org/acquisition/subscribe" href="http://www.feedbooks.com/book/52">
|
|
262
|
-
<opds:price currencycode="EUR">4.99</opds:price>
|
|
263
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
264
|
-
</link>
|
|
265
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
266
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
267
|
-
<link type="text/html" rel="related" href="http://www.feedbooks.com/book/52" title="Some link for the test"/>
|
|
268
|
-
</entry>
|
|
269
|
-
<entry>
|
|
270
|
-
<title>Acquisition: Borrow</title>
|
|
271
|
-
<id>http://feedbooks.github.io/test/11</id>
|
|
272
|
-
<author>
|
|
273
|
-
<name>Jane Austen</name>
|
|
274
|
-
</author>
|
|
275
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
276
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
277
|
-
<dcterms:language>en</dcterms:language>
|
|
278
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
279
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
280
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
281
|
-
<content type="html">
|
|
282
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
283
|
-
</content>
|
|
284
|
-
<link type="text/html" rel="http://opds-spec.org/acquisition/borrow" href="http://www.feedbooks.com/book/52">
|
|
285
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
286
|
-
</link>
|
|
287
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
288
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
289
|
-
</entry>
|
|
290
|
-
<entry>
|
|
291
|
-
<title>Acquisition: Sample and Borrow</title>
|
|
292
|
-
<id>http://feedbooks.github.io/test/12</id>
|
|
293
|
-
<author>
|
|
294
|
-
<name>Jane Austen</name>
|
|
295
|
-
</author>
|
|
296
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
297
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
298
|
-
<dcterms:language>en</dcterms:language>
|
|
299
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
300
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
301
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
302
|
-
<content type="html">
|
|
303
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
304
|
-
</content>
|
|
305
|
-
<link type="text/html" rel="http://opds-spec.org/acquisition/borrow" href="http://www.feedbooks.com/book/52">
|
|
306
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
307
|
-
</link>
|
|
308
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition/sample" href="http://www.feedbooks.com/book/52.epub"/>
|
|
309
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
310
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
311
|
-
<link type="application/atom+xml;type=entry;profile=opds-catalog" title="Full entry" rel="alternate" href="sample_borrow.xml"/>
|
|
312
|
-
</entry>
|
|
313
|
-
<entry>
|
|
314
|
-
<title>Acquisition: Place a hold</title>
|
|
315
|
-
<id>http://feedbooks.github.io/test/13</id>
|
|
316
|
-
<author>
|
|
317
|
-
<name>Jane Austen</name>
|
|
318
|
-
</author>
|
|
319
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
320
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
321
|
-
<dcterms:language>en</dcterms:language>
|
|
322
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
323
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
324
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
325
|
-
<content type="html">
|
|
326
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
327
|
-
</content>
|
|
328
|
-
<link type="text/html" rel="http://opds-spec.org/acquisition/borrow" href="http://www.feedbooks.com/book/52">
|
|
329
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
330
|
-
<opds:unavailable date="2016-10-12"/>
|
|
331
|
-
</link>
|
|
332
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
333
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
334
|
-
</entry>
|
|
335
|
-
<entry>
|
|
336
|
-
<title>Acquisition: Pre-order</title>
|
|
337
|
-
<id>http://feedbooks.github.io/test/14</id>
|
|
338
|
-
<author>
|
|
339
|
-
<name>Jane Austen</name>
|
|
340
|
-
</author>
|
|
341
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
342
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
343
|
-
<dcterms:language>en</dcterms:language>
|
|
344
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
345
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
346
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
347
|
-
<content type="html">
|
|
348
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
349
|
-
</content>
|
|
350
|
-
<link type="text/html" rel="http://opds-spec.org/acquisition/buy" href="http://www.feedbooks.com/book/52">
|
|
351
|
-
<opds:price currencycode="USD">10.99</opds:price>
|
|
352
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
353
|
-
<opds:unavailable date="2016-10-12"/>
|
|
354
|
-
</link>
|
|
355
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
356
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
357
|
-
</entry>
|
|
358
|
-
<entry>
|
|
359
|
-
<title>Acquisition: Multiple links</title>
|
|
360
|
-
<id>http://feedbooks.github.io/test/15</id>
|
|
361
|
-
<author>
|
|
362
|
-
<name>Jane Austen</name>
|
|
363
|
-
</author>
|
|
364
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
365
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
366
|
-
<dcterms:language>en</dcterms:language>
|
|
367
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
368
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
369
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
370
|
-
<content type="html">
|
|
371
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
372
|
-
</content>
|
|
373
|
-
<link type="text/html" rel="http://opds-spec.org/acquisition/buy" href="http://www.feedbooks.com/book/52">
|
|
374
|
-
<opds:price currencycode="USD">10.99</opds:price>
|
|
375
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
376
|
-
</link>
|
|
377
|
-
<link type="text/html" rel="http://opds-spec.org/acquisition/borrow" href="http://www.feedbooks.com/book/52">
|
|
378
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
379
|
-
</link>
|
|
380
|
-
<link type="application/epub+zip" rel="http://opds-spec.org/acquisition/sample" href="http://www.feedbooks.com/book/52.epub"/>
|
|
381
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
382
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
383
|
-
</entry>
|
|
384
|
-
<entry>
|
|
385
|
-
<title>Acquisition: Indirect good</title>
|
|
386
|
-
<id>http://feedbooks.github.io/test/16</id>
|
|
387
|
-
<author>
|
|
388
|
-
<name>Jane Austen</name>
|
|
389
|
-
</author>
|
|
390
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
391
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
392
|
-
<dcterms:language>en</dcterms:language>
|
|
393
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
394
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
395
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
396
|
-
<content type="html">
|
|
397
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
398
|
-
</content>
|
|
399
|
-
<link type="text/html" rel="http://opds-spec.org/acquisition" href="http://www.feedbooks.com/book/52">
|
|
400
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
401
|
-
</link>
|
|
402
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
403
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
404
|
-
</entry>
|
|
405
|
-
<entry>
|
|
406
|
-
<title>Acquisition: Indirect bad</title>
|
|
407
|
-
<id>http://feedbooks.github.io/test/17</id>
|
|
408
|
-
<author>
|
|
409
|
-
<name>Jane Austen</name>
|
|
410
|
-
</author>
|
|
411
|
-
<published>2006-12-28T20:00:54Z</published>
|
|
412
|
-
<updated>2012-10-12T17:43:18Z</updated>
|
|
413
|
-
<dcterms:language>en</dcterms:language>
|
|
414
|
-
<dcterms:issued>1813</dcterms:issued>
|
|
415
|
-
<category label="Fiction" term="FBFIC000000"/>
|
|
416
|
-
<category label="Romance" term="FBFIC027000"/>
|
|
417
|
-
<content type="html">
|
|
418
|
-
Pride And Prejudice, the story of Mrs. Bennet's attempts to marry off her five daughters is one of the best-loved and most enduring classics in English literature. Excitement fizzes through the Bennet household at Longbourn in Hertfordshire when young, eligible Mr. Charles Bingley rents the fine house nearby. He may have sisters, but he also has male friends, and one of these—the haughty, and even wealthier, Mr. Fitzwilliam Darcy—irks the vivacious Elizabeth Bennet, the second of the Bennet girls. She annoys him. Which is how we know they must one day marry. The romantic clash between the opinionated Elizabeth and Darcy is a splendid rendition of civilized sparring. As the characters dance a delicate quadrille of flirtation and intrigue, Jane Austen's radiantly caustic wit and keen observation sparkle.
|
|
419
|
-
</content>
|
|
420
|
-
<link type="text/imaginarytype" rel="http://opds-spec.org/acquisition" href="http://www.feedbooks.com/book/52">
|
|
421
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
422
|
-
</link>
|
|
423
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image" href="../larger.jpg"/>
|
|
424
|
-
<link type="image/jpeg" rel="http://opds-spec.org/image/thumbnail" href="../thumbnail.jpg"/>
|
|
425
|
-
</entry>
|
|
426
|
-
</feed>
|
package/test/files/entry.xml
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<entry xmlns:bibframe="http://bibframe.org/vocab/" xmlns:simplified="http://librarysimplified.org/terms/" xmlns:app="http://www.w3.org/2007/app" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:opds="http://opds-spec.org/2010/catalog" xmlns:schema="http://schema.org/" xmlns="http://www.w3.org/2005/Atom" schema:additionalType="http://schema.org/Book">
|
|
2
|
-
<id>urn:librarysimplified.org/terms/id/Overdrive%20ID/135d0478-1ab9-4cc1-a1aa-2aa616b1218c</id>
|
|
3
|
-
<title>The Frances Hodgson Burnett Megapack</title>
|
|
4
|
-
<bibframe:distribution bibframe:ProviderName="Overdrive"/>
|
|
5
|
-
<author><name>Frances Hodgson Burnett</name></author>
|
|
6
|
-
<accessibility>
|
|
7
|
-
<waysOfReading>
|
|
8
|
-
<feature>Appearance can be modified</feature>
|
|
9
|
-
<feature>Has alternative text</feature>
|
|
10
|
-
<feature>Not fully readable in read aloud or dynamic braille</feature>
|
|
11
|
-
</waysOfReading>
|
|
12
|
-
<conformance>
|
|
13
|
-
<conformsTo>This publication meets accepted accessibility standards</conformsTo>
|
|
14
|
-
</conformance>
|
|
15
|
-
</accessibility>
|
|
16
|
-
<summary type="html"><p>The Frances Hodgson Burnett Megapack collects 40 classic works by the author of <i>Little Lord Fauntleroy, A Little Princess</i>, and <i>The Secret Garden</i>. Almost 5,000 pages of great reading!<p>THE SECRET GARDEN<p>LITTLE LORD FAUNTLEROY<p>A LITTLE PRINCESS<p>THE LOST PRINCE<p>A LADY OF QUALITY<p>HIS GRACE OF OSMONDE<p>THE LAND OF THE BLUE FLOWER<p>THE LITTLE HUNCHBACK ZIA<p>LITTLE SAINT ELIZABETH<p>THE STORY OF PRINCE FAIRYFOOT<p>THE PROUD LITTLE GRAIN OF WHEAT<p>BEHIND THE WHITE BRICK<p>LODUSKY<p>MÈRE GIRAUDS LITTLE DAUGHTER<p>"LE MONSIEUR DE LA PETITE DAME"<p>MY ROBIN<p>ONE DAY AT ARLE<p>THE PRETTY SISTER OF JOSÉ<p>RACKETTY-PACKETTY HOUSE<p>SARA CREWE<p>SETH<p>THE SHUTTLE<p>SURLY TIM<p>THAT LASS O' LOWRIE'S<p>THEO<p>T. TEMBAROM<p>VAGABONDIA<p>THE WHITE PEOPLE<p>LOUISIANA<p>THE GOOD WOLF<p>BARTY CRUSOE AND HIS MAN SATURDAY<p>THE COZY LION<p>THE DAWN OF A TOMORROW<p>EMILY FOX-SETON<p>ESMERALDA<p>A FAIR BARBARIAN<p>THE HEAD OF THE HOUSE OF COOMBE<p>ROBIN<p>IN CONNECTION WITH THE DE WILLOUGHBY CLAIM<p>IN THE CLOSED ROOM<p>If you enjoy this volume, don't forget to search your favorite ebook store for "Wildside Megapack" to see the 100+ entries in this best-selling series, including volumes of science fiction, fantasy, mystery, westerns, classics, young adult books, and much, much more! (Sort by publication date to see the most recent entries.)</summary>
|
|
17
|
-
<updated>2016-01-08T21:38:19Z</updated>
|
|
18
|
-
<simplified:pwid>500010e3-884f-58d1-2cca-b56429de23fb</simplified:pwid>
|
|
19
|
-
<link href="https://d3pqhns20516vc.cloudfront.net/Overdrive/135d0478-1ab9-4cc1-a1aa-2aa616b1218c/cover.jpg" type="image/jpeg" rel="http://opds-spec.org/image"/>
|
|
20
|
-
<link href="https://d3pqhns20516vc.cloudfront.net/scaled/300/Overdrive/135d0478-1ab9-4cc1-a1aa-2aa616b1218c/cover.jpg" type="image/jpeg" rel="http://opds-spec.org/image/thumbnail"/>
|
|
21
|
-
<category term="Adult" scheme="http://schema.org/audience" label="Adult"/>
|
|
22
|
-
<category term="18" scheme="http://schema.org/typicalAgeRange" label="18"/>
|
|
23
|
-
<category term="http://librarysimplified.org/terms/genres/Simplified/Classics" scheme="http://librarysimplified.org/terms/genres/Simplified/" label="Classics"/>
|
|
24
|
-
<category term="http://librarysimplified.org/terms/genres/Simplified/Fantasy" scheme="http://librarysimplified.org/terms/genres/Simplified/" label="Fantasy"/>
|
|
25
|
-
<dcterms:language>en</dcterms:language>
|
|
26
|
-
<dcterms:publisher>Wildside Press LLC</dcterms:publisher>
|
|
27
|
-
<published>2014-08-10T13:00:33Z</published>
|
|
28
|
-
<link href="http://circulation.librarysimplified.org/works/Overdrive/135d0478-1ab9-4cc1-a1aa-2aa616b1218c" type="application/atom+xml;type=entry;profile=opds-catalog" rel="alternate"/>
|
|
29
|
-
<link href="http://circulation.librarysimplified.org/works/Overdrive/135d0478-1ab9-4cc1-a1aa-2aa616b1218c/report" rel="issues"/>
|
|
30
|
-
<link href="http://circulation.librarysimplified.org/works/Overdrive/135d0478-1ab9-4cc1-a1aa-2aa616b1218c/borrow" rel="http://opds-spec.org/acquisition/borrow" type="application/atom+xml;type=entry;profile=opds-catalog">
|
|
31
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
32
|
-
<opds:indirectAcquisition type="application/pdf"/>
|
|
33
|
-
<opds:indirectAcquisition type="vnd.adobe/adept+xml">
|
|
34
|
-
<opds:indirectAcquisition type="application/epub+zip"/>
|
|
35
|
-
</opds:indirectAcquisition>
|
|
36
|
-
<opds:indirectAcquisition type="vnd.adobe/adept+xml">
|
|
37
|
-
<opds:indirectAcquisition type="application/pdf"/>
|
|
38
|
-
</opds:indirectAcquisition>
|
|
39
|
-
<opds:availability status="available"/>
|
|
40
|
-
<opds:holds total="0"/>
|
|
41
|
-
<opds:copies available="1" total="1"/>
|
|
42
|
-
</link>
|
|
43
|
-
</entry>
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
<feed xmlns:dcterms="http://purl.org/dc/terms/" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:opds="http://opds-spec.org/2010/catalog" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
|
2
|
-
<id>root.xml</id>
|
|
3
|
-
<title>Test Catalog Root</title>
|
|
4
|
-
<updated>2012-10-20T01:11:18Z</updated>
|
|
5
|
-
<author>
|
|
6
|
-
<name>Hadrien Gardeur</name>
|
|
7
|
-
<uri>https://github.com/Feedbooks</uri>
|
|
8
|
-
</author>
|
|
9
|
-
<link type="application/atom+xml; profile=opds-catalog; kind=navigation" rel="self" href="root.xml"/>
|
|
10
|
-
<link type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="start" href="root.xml"/>
|
|
11
|
-
<link type="application/opensearchdescription+xml" title="Search on test catalog" rel="search" href="opensearch.xml"/>
|
|
12
|
-
<link type="application/atom+xml;profile=opds-catalog;kind=acquisition" title="Featured" rel="http://opds-spec.org/featured" href="acquisition/main.xml"/>
|
|
13
|
-
<link type="application/atom+xml;profile=opds-catalog;kind=acquisition" title="Recommended" rel="http://opds-spec.org/recommended" href="acquisition/page2.xml"/>
|
|
14
|
-
<entry>
|
|
15
|
-
<title>First Acquisition feed</title>
|
|
16
|
-
<id>main.xml</id>
|
|
17
|
-
<updated>2012-10-20T01:11:18Z</updated>
|
|
18
|
-
<content>Basic acquisition feed</content>
|
|
19
|
-
<link rel="subsection" href="acquisition/main.xml" type="application/atom+xml; profile=opds-catalog; kind=acquisition"/>
|
|
20
|
-
</entry>
|
|
21
|
-
<entry>
|
|
22
|
-
<title>Acquisition with blocks</title>
|
|
23
|
-
<id>blocks.xml</id>
|
|
24
|
-
<updated>2012-10-20T01:11:18Z</updated>
|
|
25
|
-
<content>Feed with blocks</content>
|
|
26
|
-
<link rel="subsection" href="acquisition/blocks.xml" type="application/atom+xml; profile=opds-catalog; kind=acquisition"/>
|
|
27
|
-
</entry>
|
|
28
|
-
<entry>
|
|
29
|
-
<title>Link: Featured</title>
|
|
30
|
-
<id>featured.xml</id>
|
|
31
|
-
<updated>2012-10-20T01:11:18Z</updated>
|
|
32
|
-
<content>Link for additional navigation</content>
|
|
33
|
-
<link rel="subsection" href="links/featured.xml" type="application/atom+xml; profile=opds-catalog; kind=navigation"/>
|
|
34
|
-
</entry>
|
|
35
|
-
<entry>
|
|
36
|
-
<title>Link: Recommended</title>
|
|
37
|
-
<id>recommended.xml</id>
|
|
38
|
-
<updated>2012-10-20T01:11:18Z</updated>
|
|
39
|
-
<content>Link for additional navigation</content>
|
|
40
|
-
<link rel="subsection" href="links/recommended.xml" type="application/atom+xml; profile=opds-catalog; kind=navigation"/>
|
|
41
|
-
</entry>
|
|
42
|
-
<entry>
|
|
43
|
-
<title>Link: New</title>
|
|
44
|
-
<id>new.xml</id>
|
|
45
|
-
<updated>2012-10-20T01:11:18Z</updated>
|
|
46
|
-
<content>Link for additional navigation</content>
|
|
47
|
-
<link rel="subsection" href="links/new.xml" type="application/atom+xml; profile=opds-catalog; kind=navigation"/>
|
|
48
|
-
</entry>
|
|
49
|
-
<entry>
|
|
50
|
-
<title>Link: Popular</title>
|
|
51
|
-
<id>popular.xml</id>
|
|
52
|
-
<updated>2012-10-20T01:11:18Z</updated>
|
|
53
|
-
<content>Link for additional navigation</content>
|
|
54
|
-
<link rel="subsection" href="links/popular.xml" type="application/atom+xml; profile=opds-catalog; kind=navigation"/>
|
|
55
|
-
</entry>
|
|
56
|
-
</feed>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import PrefixMap from "../src/prefix_map";
|
|
2
|
-
import OPDSHolds from "../src/opds_holds";
|
|
3
|
-
import HoldsParser from "../src/holds_parser";
|
|
4
|
-
import NamespaceParser from "../src/namespace_parser";
|
|
5
|
-
import chai = require("chai");
|
|
6
|
-
let expect = chai.expect;
|
|
7
|
-
|
|
8
|
-
describe("HoldsParser", () => {
|
|
9
|
-
let parser: HoldsParser;
|
|
10
|
-
|
|
11
|
-
beforeEach(() => {
|
|
12
|
-
let prefixes: PrefixMap = {};
|
|
13
|
-
prefixes[NamespaceParser.OPDS_URI] = "opds:";
|
|
14
|
-
parser = new HoldsParser(prefixes);
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
describe("#parse", () => {
|
|
18
|
-
it("extract attributes", () => {
|
|
19
|
-
let holds = {
|
|
20
|
-
$: {
|
|
21
|
-
total: { value: "37" },
|
|
22
|
-
position: { value: "31" },
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
let parsed = parser.parse(holds);
|
|
26
|
-
expect(parsed.total).to.equals(37);
|
|
27
|
-
expect(parsed.position).to.equals(31);
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
});
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import PrefixMap from "../src/prefix_map";
|
|
2
|
-
import OPDSIndirectAcquisition from "../src/opds_indirect_acquisition";
|
|
3
|
-
import IndirectAcquisitionParser from "../src/indirect_acquisition_parser";
|
|
4
|
-
import NamespaceParser from "../src/namespace_parser";
|
|
5
|
-
import chai = require("chai");
|
|
6
|
-
let expect = chai.expect;
|
|
7
|
-
|
|
8
|
-
describe("IndirectAcquisitionParser", () => {
|
|
9
|
-
let parser: IndirectAcquisitionParser;
|
|
10
|
-
|
|
11
|
-
beforeEach(() => {
|
|
12
|
-
let prefixes: PrefixMap = {};
|
|
13
|
-
prefixes[NamespaceParser.OPDS_URI] = "opds:";
|
|
14
|
-
parser = new IndirectAcquisitionParser(prefixes);
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
describe("#parse", () => {
|
|
18
|
-
it("extract attributes", () => {
|
|
19
|
-
let type1 = "application/zip";
|
|
20
|
-
let type2 = "application/epub+zip";
|
|
21
|
-
let type3 = "application/pdf";
|
|
22
|
-
let indirectAcquisition = {
|
|
23
|
-
"$": {
|
|
24
|
-
"type": { "value": type1 }
|
|
25
|
-
},
|
|
26
|
-
"opds:indirectAcquisition": [
|
|
27
|
-
{
|
|
28
|
-
"$": {
|
|
29
|
-
"type": { "value": type2 }
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"$": {
|
|
34
|
-
"type": { "value": type3 }
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
};
|
|
39
|
-
let parsedIndirectAcquisition = parser.parse(indirectAcquisition);
|
|
40
|
-
expect(parsedIndirectAcquisition.type).to.equals(type1);
|
|
41
|
-
expect(parsedIndirectAcquisition.indirectAcquisitions.length).to.equals(2);
|
|
42
|
-
expect(parsedIndirectAcquisition.indirectAcquisitions[0].type).to.equals(type2);
|
|
43
|
-
expect(parsedIndirectAcquisition.indirectAcquisitions[1].type).to.equals(type3);
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
});
|