Update opds feed with letters for all titles, authors, categories and series

This commit is contained in:
Ozzie Isaacs
2021-03-22 17:46:15 +01:00
parent fc85586809
commit 670eab62bf
3 changed files with 95 additions and 14 deletions

View File

@@ -84,4 +84,11 @@
<link rel="subsection" type="application/atom+xml;profile=opds-catalog" href="{{url_for(folder, book_id=entry.id)}}"/>
</entry>
{% endfor %}
{% for entry in letterelements %}
<entry>
<title>{{entry['name']}}</title>
<id>{{ url_for(folder, book_id=entry['id']) }}</id>
<link rel="subsection" type="application/atom+xml;profile=opds-catalog" href="{{url_for(folder, book_id=entry['id'])}}"/>
</entry>
{% endfor %}
</feed>