mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 15:24:46 -04:00
Implement OpenSearch feed search with FilterEbooks
This commit is contained in:
parent
e06fd910ed
commit
6c8e819316
7 changed files with 15 additions and 71 deletions
|
@ -11,8 +11,8 @@ print('<?xml version="1.0" encoding="utf-8"?>');
|
|||
<OutputEncoding>UTF-8</OutputEncoding>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<Url type="application/xhtml+xml" template="<?= SITE_URL ?>/ebooks?query={searchTerms}&per-page={count}&page={startPage}"/>
|
||||
<Url type="application/rss+xml" template="<?= SITE_URL ?>/feeds/rss/all?query={searchTerms}"/>
|
||||
<Url type="application/atom+xml" template="<?= SITE_URL ?>/feeds/atom/all?query={searchTerms}"/>
|
||||
<Url type="application/atom+xml;profile=opds-catalog;kind=acquisition" template="<?= SITE_URL ?>/feeds/opds/all?query={searchTerms}"/>
|
||||
<Url type="application/rss+xml" template="<?= SITE_URL ?>/feeds/rss/all?query={searchTerms}&per-page={count}&page={startPage}"/>
|
||||
<Url type="application/atom+xml" template="<?= SITE_URL ?>/feeds/atom/all?query={searchTerms}&per-page={count}&page={startPage}"/>
|
||||
<Url type="application/atom+xml;profile=opds-catalog;kind=acquisition" template="<?= SITE_URL ?>/feeds/opds/all?query={searchTerms}&per-page={count}&page={startPage}"/>
|
||||
<Query role="example" searchTerms="fiction" startPage="1" count="12"/>
|
||||
</OpenSearchDescription>
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
<OutputEncoding>UTF-8</OutputEncoding>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<Url type="application/xhtml+xml" template="https://standardebooks.org/ebooks?query={searchTerms}&per-page={count}&page={startPage}"/>
|
||||
<Url type="application/rss+xml" template="https://standardebooks.org/feeds/rss/all?query={searchTerms}"/>
|
||||
<Url type="application/atom+xml" template="https://standardebooks.org/feeds/atom/all?query={searchTerms}"/>
|
||||
<Url type="application/atom+xml;profile=opds-catalog;kind=acquisition" template="https://standardebooks.org/feeds/opds/all?query={searchTerms}"/>
|
||||
<Url type="application/rss+xml" template="https://standardebooks.org/feeds/rss/all?query={searchTerms}&per-page={count}&page={startPage}"/>
|
||||
<Url type="application/atom+xml" template="https://standardebooks.org/feeds/atom/all?query={searchTerms}&per-page={count}&page={startPage}"/>
|
||||
<Url type="application/atom+xml;profile=opds-catalog;kind=acquisition" template="https://standardebooks.org/feeds/opds/all?query={searchTerms}&per-page={count}&page={startPage}"/>
|
||||
<Query role="example" searchTerms="fiction" startPage="1" count="12"/>
|
||||
</OpenSearchDescription>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue