Skip to content

Instantly share code, notes, and snippets.

@bluelovers
Last active March 7, 2019 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bluelovers/fd5e823c69910c1ba20d85b9f1a913ca to your computer and use it in GitHub Desktop.
Save bluelovers/fd5e823c69910c1ba20d85b9f1a913ca to your computer and use it in GitHub Desktop.
opds test
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/terms/" xmlns:opds="http://opds-spec.org/2010/catalog">
<title>My Catalog</title>
<updated>2019-03-07T21:01:37.772Z</updated>
<author>
<name>Samy Pesse</name>
<uri>https://www.gitbook.com</uri>
</author>
<entry>
<title>A book</title>
<updated>2019-03-07T21:01:37.771Z</updated>
<summary>This is a test book</summary>
<link href="/book/test.jpg" rel="http://opds-spec.org/image" type="image/jpeg"/>
<link href="/book/test.epub" rel="http://opds-spec.org/acquisition/buy" type="application/epub+zip">
<opds:price>10</opds:price>
</link>
<author>
<name>Aaron O'Mullan</name>
<uri>https://www.gitbook.com/@aaron</uri>
</author>
<category term="FIC020000" scheme="http://www.bisg.org/standards/bisac_subject/index.html"/>
<content type="xhtml">
<![CDATA[<b>Hello World</b>]]>
</content>
</entry>
<entry>
<title>A book 2</title>
<updated>2019-03-07T21:01:37.771Z</updated>
<summary>This is a test book</summary>
<link href="/book/test.jpg" rel="http://opds-spec.org/image" type="image/jpeg"/>
<link href="/book/test.epub" rel="http://opds-spec.org/acquisition/buy" type="application/epub+zip">
<opds:price currencycode="TWD">10</opds:price>
</link>
<author>
<name>Aaron O'Mullan</name>
<uri>https://www.gitbook.com/@aaron</uri>
</author>
<category term="FIC020000" scheme="http://www.bisg.org/standards/bisac_subject/index.html"/>
<category label="8888" scheme="http://www.bisg.org/standards/bisac_subject/index.html"/>
<content type="text">
<![CDATA[Hello World]]>
</content>
</entry>
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment