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.
 
 
 
 
 
 

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