OPDS Publisher Indexing

This commit is contained in:
DarkSir23 2017-11-01 10:09:40 -04:00 committed by evilhero
parent 07b0ad3565
commit 23bc8fc972
1 changed files with 6 additions and 5 deletions

View File

@ -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']: