1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-02-13 09:44:40 +00:00

OPDS Comics and Issues

This commit is contained in:
DarkSir23 2017-11-01 15:28:35 -04:00 committed by evilhero
parent 1f98ae96f2
commit 27eca82cf0
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
<updated>${entry['updated']}</updated> <updated>${entry['updated']}</updated>
<content type="text">${entry['content']}</content> <content type="text">${entry['content']}</content>
%if entry['rel'] == 'acquisition': %if entry['rel'] == 'acquisition':
<link href="${entry['href']}" rel="${entry['rel']}" type="octet/stream"> <link href="${entry['href']}" rel="${entry['rel']}" type="octet/stream"/>
%else: %else:
<link href="${entry['href']}" rel= "${entry['rel']}" type="application/atom+xml; profile=opds-catalog; kind=${entry['kind']}"/> <link href="${entry['href']}" rel= "${entry['rel']}" type="application/atom+xml; profile=opds-catalog; kind=${entry['kind']}"/>
%endif %endif

View file

@ -307,7 +307,7 @@ class OPDS(object):
'content': escape('%s' % (metainfo[0]['summary'])), 'content': escape('%s' % (metainfo[0]['summary'])),
'href': '/opds?cmd=Issue&amp;issueid=%s' % quote_plus(issue['IssueID']), 'href': '/opds?cmd=Issue&amp;issueid=%s' % quote_plus(issue['IssueID']),
'kind': 'acquisition', 'kind': 'acquisition',
'rel': 'acquisition', 'rel': 'file',
'author': metainfo[0]['writer'], 'author': metainfo[0]['writer'],
} }
) )