basic OPDS (and HTML) catalog provider for eBooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
2.6 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <feed xmlns="http://www.w3.org/2005/Atom"
  3. xmlns:dcterms="http://purl.org/dc/terms/"
  4. xml:base="{baseurl}">
  5. <id>{baseurl}index.php?lang={lang}</id>
  6. <link rel="self"
  7. href="{baseurl}index.php?lang={lang}"
  8. type="application/atom+xml;profile=opds-catalog"/>
  9. <link rel="start"
  10. href="{baseurl}index.php?lang={lang}"
  11. type="application/atom+xml;profile=opds-catalog"/>
  12. <link rel="search"
  13. type="application/opensearchdescription+xml"
  14. href="{baseurl}?lang={lang}&amp;prefix=ods"/>
  15. <link rel="search"
  16. type="application/atom+xml;profile=opds-catalog"
  17. href="{baseurl}?lang={lang}&amp;pageformat=opds&amp;prefix=searchresults&amp;q={searchTerms}"/>
  18. <title>{site_title}</title>
  19. <updated>{pubdate}</updated>
  20. <author>
  21. <name>{owner}</name>
  22. <uri>{homepage}</uri>
  23. <email>{email}</email>
  24. </author>
  25. <entry>
  26. <title>{author_list}</title>
  27. <id>{baseurl}index.php?prefix=authors&amp;lang={lang}</id>
  28. <content type="text">{author_list}</content>
  29. <link type="application/atom+xml;profile=opds-catalog" href="{relurl}index.php?prefix=authors&amp;lang={lang}"/>
  30. <link type="image/png" href="{relurl}tpl/icons/authors.png" rel="http://opds-spec.org/image/thumbnail"/>
  31. <updated>{pubdate}</updated>
  32. </entry>
  33. <entry>
  34. <title>{title_list}</title>
  35. <id>{baseurl}index.php?prefix=titles&amp;lang={lang}</id>
  36. <content type="text">{title_list}</content>
  37. <link type="application/atom+xml;profile=opds-catalog" href="{relurl}index.php?prefix=titles&amp;lang={lang}"/>
  38. <link type="image/png" href="{relurl}tpl/icons/bookcase.png" rel="http://opds-spec.org/image/thumbnail"/>
  39. <updated>{pubdate}</updated>
  40. </entry>
  41. <entry>
  42. <title>{tags_list}</title>
  43. <id>{baseurl}index.php?prefix=subjects&amp;lang={lang}</id>
  44. <content type="text">{tags_list}</content>
  45. <link type="application/atom+xml;profile=opds-catalog" href="{relurl}index.php?prefix=tags&amp;lang={lang}"/>
  46. <link type="image/png" href="{relurl}tpl/icons/tags.png" rel="http://opds-spec.org/image/thumbnail"/>
  47. <updated>{pubdate}</updated>
  48. </entry>
  49. <entry>
  50. <title>{series_list}</title>
  51. <id>{baseurl}index.php?prefix=series&amp;lang={lang}</id>
  52. <content type="text">{series_list}</content>
  53. <link type="application/atom+xml;profile=opds-catalog" href="{relurl}index.php?prefix=series&amp;lang={lang}"/>
  54. <link type="image/png" href="{relurl}tpl/icons/bookseries.png" rel="http://opds-spec.org/image/thumbnail"/>
  55. <updated>{pubdate}</updated>
  56. </entry>
  57. </feed>