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.
 
 
 
 
 
 

85 lines
4.3 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. xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
  5. xmlns:relevance="http://a9.com/-/opensearch/extensions/relevance/1.0/">
  6. <title>{series_list}</title>
  7. <subtitle>miniCalOPe</subtitle>
  8. <id>{baseurl}index.php?prefix=series&amp;sort_order={sortorder}&amp;offset={offset}&amp;lang={lang}</id>
  9. <updated>{pubdate}</updated>
  10. <author>
  11. <name>{owner}</name>
  12. <uri>{homepage}</uri>
  13. <email>{email}</email>
  14. </author>
  15. <link rel="self" title="{this_page}"
  16. type="application/atom+xml;profile=opds-catalog"
  17. href="{baseurl}index.php?prefix=series&amp;sort_order=downloads&amp;lang={lang}"/>
  18. <!-- BEGIN prevblock -->
  19. <link rel="first" title="{first_page}" type="application/atom+xml" href="{baseurl}index.php?prefix=series&amp;sort_order={sortorder}&amp;offset=0"/>
  20. <link rel="previous" title="{previous_page}" type="application/atom+xml" href="{baseurl}index.php?prefix=series&amp;sort_order={sortorder}&amp;offset={poffset}"/>
  21. <!-- END prevblock -->
  22. <!-- BEGIN nextblock -->
  23. <link rel="next" title="{next_page}" type="application/atom+xml" href="{baseurl}index.php?prefix=series&amp;sort_order={sortorder}&amp;offset={noffset}"/>
  24. <link rel="last" title="{last_page}" type="application/atom+xml" href="{baseurl}index.php?prefix=series&amp;sort_order={sortorder}&amp;offset={loffset}"/>
  25. <!-- END nextblock -->
  26. <link rel="http://opds-spec.org/sort/start" title="{start_page}"
  27. type="application/atom+xml;profile=opds-catalog"
  28. href="{baseurl}index.php?lang={lang}"/>
  29. <link rel="search"
  30. type="application/opensearchdescription+xml"
  31. href="{baseurl}index.php?lang={lang}&amp;prefix=ods"/>
  32. <link rel="search"
  33. type="application/atom+xml;profile=opds-catalog"
  34. href="{baseurl}index.php?lang={lang}&amp;pageformat=opds&amp;prefix=searchresults&amp;q={searchTerms}"/>
  35. <link rel="alternate" title="{sort_alpha}" type="application/atom+xml" href="{baseurl}index.php?prefix=series&amp;sort_order=title&amp;lang={lang}"/>
  36. <link rel="http://opds-spec.org/sort/numerous" title="{sort_bookcount}" type="application/atom+xml" href="{baseurl}index.php?prefix=series&amp;sort_order=books&amp;lang={lang}"/>
  37. <opensearch:totalResults>{total}</opensearch:totalResults>
  38. <opensearch:startIndex>{start}</opensearch:startIndex>
  39. <opensearch:itemsPerPage>{per_page}</opensearch:itemsPerPage>
  40. <entry>
  41. <title>{start_page}</title>
  42. <id>{baseurl}index.php?lang={lang}</id>
  43. <content type="text"></content>
  44. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?lang={lang}"/>
  45. <link type="image/png" href="{relurl}tpl/icons/home.png" rel="http://opds-spec.org/image/thumbnail"/>
  46. <updated>{pubdate}</updated>
  47. </entry>
  48. <entry>
  49. <title>{sort_alpha}</title>
  50. <id>{baseurl}index.php?prefix=series&amp;sort_order=title&amp;lang={lang}</id>
  51. <content type="text"></content>
  52. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?prefix=series&amp;sort_order=title&amp;lang={lang}"/>
  53. <link type="image/png" href="{relurl}tpl/icons/alpha.png" rel="http://opds-spec.org/image/thumbnail"/>
  54. <updated>{pubdate}</updated>
  55. </entry>
  56. <entry>
  57. <title>{sort_bookcount}</title>
  58. <id>{baseurl}index.php?prefix=series&amp;sort_order=books&amp;lang={lang}</id>
  59. <content type="text"></content>
  60. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?prefix=series&amp;sort_order=books&amp;lang={lang}"/>
  61. <link type="image/png" href="{relurl}tpl/icons/alpha.png" rel="http://opds-spec.org/image/thumbnail"/>
  62. <updated>{pubdate}</updated>
  63. </entry>
  64. <!-- BEGIN itemblock -->
  65. <entry>
  66. <title>{name}</title>
  67. <id>{baseurl}index.php?prefix=series_id&amp;sort_order={sortorder}&amp;query={id}&amp;lang={lang}</id>
  68. <content type="text">{num_books} {books}</content>
  69. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?prefix=series_id&amp;sort_order=downloads&amp;query={id}&amp;lang={lang}"/>
  70. <link type="image/png" href="{relurl}tpl/icons/tag.png" rel="http://opds-spec.org/image/thumbnail"/>
  71. <updated>{pubdate}</updated>
  72. </entry>
  73. <!-- END itemblock -->
  74. </feed>