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.
 
 
 
 
 
 

111 lines
5.7 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>{books_in_serie}</title>
  7. <subtitle>miniCalOPe.</subtitle>
  8. <id>{baseurl}index.php?prefix=series_id&amp;sort_order={sortorder}&amp;query={aid}&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_id&amp;sort_order={sortorder}&amp;query={aid}&amp;lang={lang}"/>
  18. <!-- BEGIN prevblock -->
  19. <link rel="first" title="{first_page}" type="application/atom+xml" href="{baseurl}index.php?prefix=series_id&amp;sort_order={sortorder}&amp;query={aid}&amp;offset=0"/>
  20. <link rel="previous" title="{prev_page}" type="application/atom+xml" href="{baseurl}index.php?prefix=series_id&amp;sort_order={sortorder}&amp;query={aid}&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_id&amp;sort_order={sortorder}&amp;query={aid}&amp;offset={noffset}"/>
  24. <link rel="last" title="{last_page}" type="application/atom+xml" href="{baseurl}index.php?prefix=series_id&amp;sort_order={sortorder}&amp;query={aid}&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="http://opds-spec.org/sort/new" title="{sort_index}"
  30. type="application/atom+xml;profile=opds-catalog"
  31. href="{baseurl}/?prefix=series_id&amp;sort_order=index&amp;query={aid}&amp;lang={lang}"/>
  32. <link rel="alternate" title="{sort_alpha}"
  33. type="application/atom+xml;profile=opds-catalog"
  34. href="{baseurl}/?prefix=series_id&amp;sort_order=title&amp;query={aid}&amp;lang={lang}"/>
  35. <link rel="alternate" title="{sort_author}"
  36. type="application/atom+xml;profile=opds-catalog"
  37. href="{baseurl}index.php?prefix=series_id&amp;sort_order=author&amp;query={aid}&amp;lang={lang}"/>
  38. <link rel="up" title="{back_to_series}"
  39. type="application/atom+xml;profile=opds-catalog"
  40. href="{relurl}index.php?prefix=series&amp;lang={lang}"/>
  41. <link rel="search"
  42. type="application/opensearchdescription+xml"
  43. href="{baseurl}index.php?lang={lang}&amp;prefix=ods"/>
  44. <link rel="search"
  45. type="application/atom+xml;profile=opds-catalog"
  46. href="{baseurl}index.php?lang={lang}&amp;pageformat=opds&amp;prefix=searchresults&amp;q={searchTerms}"/>
  47. <opensearch:totalResults>{total}</opensearch:totalResults>
  48. <opensearch:startIndex>{start}</opensearch:startIndex>
  49. <opensearch:itemsPerPage>{per_page}</opensearch:itemsPerPage>
  50. <entry>
  51. <title>{start_page}</title>
  52. <id>{baseurl}index.php?lang={lang}</id>
  53. <content type="text"></content>
  54. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?lang={lang}"/>
  55. <link type="image/png" href="{relurl}tpl/icons/home.png" rel="http://opds-spec.org/image/thumbnail"/>
  56. <updated>{pubdate}</updated>
  57. </entry>
  58. <entry>
  59. <title>{back_to_series}</title>
  60. <id>{baseurl}index.php?prefix=authors&amp;lang={lang}</id>
  61. <content type="text"></content>
  62. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?prefix=series&amp;lang={lang}"/>
  63. <link type="image/png" href="{relurl}tpl/icons/bookseries.png" rel="http://opds-spec.org/image/thumbnail"/>
  64. <updated>{pubdate}</updated>
  65. </entry>
  66. <entry>
  67. <title>{sort_alpha}</title>
  68. <id>baseurl}?prefix=series_id&amp;sort_order=title&amp;query={aid}&amp;lang={lang}</id>
  69. <content type="text"></content>
  70. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?prefix=series_id&amp;sort_order=title&amp;query={aid}&amp;lang={lang}"/>
  71. <link type="image/png" href="{relurl}tpl/icons/alpha.png" rel="http://opds-spec.org/image/thumbnail"/>
  72. <updated>{pubdate}</updated>
  73. </entry>
  74. <entry>
  75. <title>{sort_author}</title>
  76. <id>{baseurl}index.php?prefix=series_id&amp;sort_order=author&amp;query={aid}&amp;lang={lang}</id>
  77. <content type="text"></content>
  78. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?prefix=series_id&amp;sort_order=author&amp;query={aid}&amp;lang={lang}"/>
  79. <link type="image/png" href="{relurl}tpl/icons/authors.png" rel="http://opds-spec.org/image/thumbnail"/>
  80. <updated>{pubdate}</updated>
  81. </entry>
  82. <entry>
  83. <title>{sort_index}</title>
  84. <id>{baseurl}index.php?prefix=series_id&amp;sort_order=index&amp;query={aid}&amp;lang={lang}</id>
  85. <content type="text"></content>
  86. <link type="application/atom+xml;profile=opds-catalog" href="{relurl}index.php?prefix=series_id&amp;sort_order=release_date&amp;query={aid}&amp;lang={lang}"/>
  87. <link type="image/png" href="{relurl}tpl/icons/bookseries.png" rel="http://opds-spec.org/image/thumbnail"/>
  88. <updated>{pubdate}</updated>
  89. </entry>
  90. <!-- BEGIN itemblock -->
  91. <entry>
  92. <title>{title_by_author}</title>
  93. <id>{baseurl}{bid}.opds</id>
  94. <content type="text">ISBN: {isbn}</content>
  95. <link type="application/atom+xml;type=entry;profile=opds-catalog" href="{baseurl}index.php?action=bookdetails&amp;book={bid}&amp;lang={lang}"/>
  96. <link type="image/png" href="{relurl}tpl/icons/book.png" rel="http://opds-spec.org/image/thumbnail"/>
  97. <updated>{pubdate}</updated>
  98. </entry>
  99. <!-- END itemblock -->
  100. </feed>