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:
parent
1f98ae96f2
commit
27eca82cf0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -307,7 +307,7 @@ class OPDS(object):
|
||||||
'content': escape('%s' % (metainfo[0]['summary'])),
|
'content': escape('%s' % (metainfo[0]['summary'])),
|
||||||
'href': '/opds?cmd=Issue&issueid=%s' % quote_plus(issue['IssueID']),
|
'href': '/opds?cmd=Issue&issueid=%s' % quote_plus(issue['IssueID']),
|
||||||
'kind': 'acquisition',
|
'kind': 'acquisition',
|
||||||
'rel': 'acquisition',
|
'rel': 'file',
|
||||||
'author': metainfo[0]['writer'],
|
'author': metainfo[0]['writer'],
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue