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.
 
 
 
 
 
 

99 lines
5.0 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>{title_list}</title>
  7. <subtitle>miniCalOPe</subtitle>
  8. <id>{baseurl}index.php?prefix=titels&amp;sort_order={sortorder}&amp;lang={lang}&amp;offset={offset}</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=titels&amp;sort_order={sortorder}&amp;offset={offset}"/>
  18. <link rel="search"
  19. type="application/opensearchdescription+xml"
  20. href="{baseurl}index.php?lang={lang}&amp;prefix=ods"/>
  21. <link rel="search"
  22. type="application/atom+xml;profile=opds-catalog"
  23. href="{baseurl}index.php?lang={lang}&amp;pageformat=opds&amp;prefix=searchresults&amp;q={searchTerms}"/>
  24. <!-- BEGIN prevblock -->
  25. <link rel="first" title="{first_page}" type="application/atom+xml" href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order={sortorder}&amp;offset=0"/>
  26. <link rel="previous" title="{prev_page}" type="application/atom+xml" href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order={sortorder}&amp;offset={poffset}"/>
  27. <!-- END prevblock -->
  28. <!-- BEGIN nextblock -->
  29. <link rel="next" title="{next_page}" type="application/atom+xml" href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order={sortorder}&amp;offset={noffset}"/>
  30. <link rel="last" title="{last_page}" type="application/atom+xml" href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order={sortorder}&amp;offset={loffset}"/>
  31. <!-- END nextblock -->
  32. <link rel="http://opds-spec.org/sort/start" title="{start_page}"
  33. type="application/atom+xml;profile=opds-catalog"
  34. href="{baseurl}index.php?lang={lang}"/>
  35. <link rel="alternate" title="{sort_alpha}"
  36. type="application/atom+xml;profile=opds-catalog"
  37. href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order=title&amp;lang={lang}"/>
  38. <link rel="alternate" title="{sort_author}"
  39. type="application/atom+xml;profile=opds-catalog"
  40. href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order=name&amp;lang={lang}"/>
  41. <link rel="http://opds-spec.org/sort/new" title="{sort_date}"
  42. type="application/atom+xml;profile=opds-catalog"
  43. href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order=time&amp;lang={lang}"/>
  44. <opensearch:totalResults>{total}</opensearch:totalResults>
  45. <opensearch:startIndex>{start}</opensearch:startIndex>
  46. <opensearch:itemsPerPage>{per_page}</opensearch:itemsPerPage>
  47. <entry>
  48. <title>{start_page}</title>
  49. <id>{baseurl}index.php?lang={lang}</id>
  50. <content type="text"></content>
  51. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?lang={lang}"/>
  52. <link type="image/png" href="{relurl}tpl/icons/home.png" rel="http://opds-spec.org/image/thumbnail"/>
  53. <updated>{pubdate}</updated>
  54. </entry>
  55. <entry>
  56. <title>{sort_alpha}</title>
  57. <id>{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order=title&amp;lang={lang}</id>
  58. <content type="text"></content>
  59. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order=title&amp;lang={lang}"/>
  60. <link type="image/png" href="{relurl}tpl/icons/alpha.png" rel="http://opds-spec.org/image/thumbnail"/>
  61. <updated>{pubdate}</updated>
  62. </entry>
  63. <entry>
  64. <title>{sort_author}</title>
  65. <id>{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order=name&amp;lang={lang}</id>
  66. <content type="text"></content>
  67. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order=name&amp;lang={lang}"/>
  68. <link type="image/png" href="{relurl}tpl/icons/authors.png" rel="http://opds-spec.org/image/thumbnail"/>
  69. <updated>{pubdate}</updated>
  70. </entry>
  71. <entry>
  72. <title>{sort_date}</title>
  73. <id>{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order=time&amp;lang={lang}</id>
  74. <content type="text"></content>
  75. <link type="application/atom+xml;profile=opds-catalog" href="{baseurl}index.php?prefix={prefix}{searchvals}&amp;sort_order=time&amp;lang={lang}"/>
  76. <link type="image/png" href="{relurl}tpl/icons/date.png" rel="http://opds-spec.org/image/thumbnail"/>
  77. <updated>{pubdate}</updated>
  78. </entry>
  79. <!-- BEGIN itemblock -->
  80. <entry>
  81. <title>{title}</title>
  82. <id>{baseurl}{bid}.opds</id>
  83. <content type="text">ISBN: {isbn}</content>
  84. <link type="application/atom+xml;type=entry;profile=opds-catalog" href="{baseurl}index.php?action=bookdetails&amp;book={bid}&amp;lang={lang}"/>
  85. <link type="image/png" href="{relurl}tpl/icons/book.png" rel="http://opds-spec.org/image/thumbnail"/>
  86. <updated>{pubdate}</updated>
  87. </entry>
  88. <!-- END itemblock -->
  89. </feed>