mirror of
https://github.com/evilhero/mylar
synced 2025-02-13 01:34:35 +00:00
OPDS Comics and Issues
This commit is contained in:
parent
1f98ae96f2
commit
27eca82cf0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -307,7 +307,7 @@ class OPDS(object):
|
|||
'content': escape('%s' % (metainfo[0]['summary'])),
|
||||
'href': '/opds?cmd=Issue&issueid=%s' % quote_plus(issue['IssueID']),
|
||||
'kind': 'acquisition',
|
||||
'rel': 'acquisition',
|
||||
'rel': 'file',
|
||||
'author': metainfo[0]['writer'],
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue