mirror of https://github.com/evilhero/mylar
OPDS Publisher Indexing
This commit is contained in:
parent
07b0ad3565
commit
23bc8fc972
|
@ -12,11 +12,12 @@
|
|||
<uri>https://github.com/evilhero/mylar</uri>
|
||||
</author>
|
||||
%for link in opds['links']:
|
||||
<link rel="${link['rel']}" href="${link['href']}" type="${link['type']}"
|
||||
%if 'title' in link:
|
||||
title="${link['title']}"
|
||||
%endif
|
||||
/>
|
||||
<%
|
||||
linktitle = ''
|
||||
if 'title' in link:
|
||||
linktitle = ' title="%s"' % link['title']
|
||||
%>
|
||||
<link rel="${link['rel']}" href="${link['href']}" type="${link['type']}"${linktitle}/>
|
||||
|
||||
%endfor
|
||||
%for entry in opds['entries']:
|
||||
|
|
Loading…
Reference in New Issue