Files
ComicOPDS/app/templates/feed.xml.j2

20 lines
569 B
Django/Jinja

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:opds="http://opds-spec.org/2010/catalog">
<id>{{ feed_id }}</id>
<updated>{{ updated }}</updated>
<title>{{ title }}</title>
<link rel="self" href="{{ self_href }}" />
<link rel="start" href="{{ start_href }}" />
<link rel="search" type="application/opensearchdescription+xml" href="{{ base }}/opds/search.xml" />
{% if next_href -%}
<link rel="next" href="{{ next_href }}" />
{% endif -%}
{% for e in entries %}
{{ e | safe }}
{% endfor %}
</feed>