mirror of
https://github.com/evilhero/mylar
synced 2024-12-25 01:01:47 +00:00
OPDS Publisher Indexing
This commit is contained in:
parent
2b040648bc
commit
83b33c0681
2 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@
|
|||
<id>${entry['id']}</id>
|
||||
<updated>${entry['updated']}</updated>
|
||||
<content type="text">${entry['content']}</content>
|
||||
<link href="${entry['href']}" type="application/atom+xml;profile=opds-catalog;kind=${entry['kind']}"/>
|
||||
<link href="${entry['href']}" type="application/atom+xml; profile=opds-catalog; kind=${entry['kind']}"/>
|
||||
%if 'thumbnail' in entry:
|
||||
<link href="${entry['thumbnail']}" type="image/png" rel="http://opds-spec.org/image/thumbnail"/>
|
||||
%endif
|
||||
|
|
|
@ -93,8 +93,8 @@ class OPDS(object):
|
|||
feed['updated'] = mylar.helpers.now()
|
||||
links = []
|
||||
entries=[]
|
||||
links.append(getLink(href='/opds',type='application/atom+xml;profile=opds-catalog;kind=navigation', rel='start', title='Home'))
|
||||
links.append(getLink(href='/opds',type='application/atom+xml;profile=opds-catalog;kind=navigation',rel='self'))
|
||||
links.append(getLink(href='/opds',type='application/atom+xml; profile=opds-catalog; kind=navigation', rel='start', title='Home'))
|
||||
links.append(getLink(href='/opds',type='application/atom+xml; profile=opds-catalog; kind=navigation',rel='self'))
|
||||
links.append(getLink(href='/opds?cmd=search', type='application/opensearchdescription+xml',rel='search',title='Search'))
|
||||
publishers = myDB.select("SELECT ComicPublisher from comics GROUP BY ComicPublisher")
|
||||
if len(publishers) > 0:
|
||||
|
|
Loading…
Reference in a new issue