Update Updater

Bugfix author in opds-feed
This commit is contained in:
Ozzieisaacs
2018-11-01 13:44:00 +01:00
parent c1818e8f36
commit cc7dcfb35a
3 changed files with 13 additions and 14 deletions
+6 -5
View File
@@ -43,11 +43,12 @@
<title>{{entry.title}}</title>
<id>{{entry.uuid}}</id>
<updated>{{entry.atom_timestamp}}</updated>
<author>
<name>{{entry.authors[0].name}}</name>
</author>
{% if publishers.__len__() > 0 %}
{% if entry.authors.__len__() > 0 %}
<author>
<name>{{entry.authors[0].name}}</name>
</author>
{% endif %}
{% if entry.publishers.__len__() > 0 %}
<publisher>
<name>{{entry.publishers[0].name}}</name>
</publisher>