OPDS Comics and Issues

This commit is contained in:
DarkSir23 2017-11-01 15:21:59 -04:00 committed by evilhero
parent aeb9101469
commit 8560295e2e
1 changed files with 4 additions and 0 deletions

View File

@ -29,7 +29,11 @@
%endif
<updated>${entry['updated']}</updated>
<content type="text">${entry['content']}</content>
%if entry['rel'] == 'acquisition':
<link href="${entry['href']}" rel="${entry['rel']}" type="octet/stream">
else:
<link href="${entry['href']}" rel= "${entry['rel']}" type="application/atom+xml; profile=opds-catalog; kind=${entry['kind']}"/>
%endif
%if 'thumbnail' in entry:
<link href="${entry['thumbnail']}" type="image/png" rel="http://opds-spec.org/image/thumbnail"/>
%endif