Add search ability to OPDS feed

This commit is contained in:
Alex Cabal 2020-06-19 16:20:40 -05:00
parent c6988a87d7
commit 86f3adca36
7 changed files with 94 additions and 6 deletions

View file

@ -42,6 +42,7 @@ print("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
<link href="<?= $webUrl ?>/opds/all" rel="self" type="application/atom+xml;profile=opds-catalog;kind=acquisition"/>
<link href="<?= $webUrl ?>/opds" rel="start" type="application/atom+xml;profile=opds-catalog;kind=navigation"/>
<link href="<?= $webUrl ?>/opds/all" rel="crawlable" type="application/atom+xml;profile=opds-catalog;kind=acquisition"/>
<link href="<?= $webUrl ?>/ebooks/opensearch" rel="search" type="application/opensearchdescription+xml" />
<title>All Standard Ebooks</title>
<subtitle>Free and liberated ebooks, carefully produced for the true book lover.</subtitle>
<icon><?= $webUrl ?>/images/logo.png</icon>