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>
<content type="text">${entry['content']}</content>
%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:
<link href="${entry['href']}" rel= "${entry['rel']}" type="application/atom+xml; profile=opds-catalog; kind=${entry['kind']}"/>
%endif

View File

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