32 lines
1.2 KiB
Django/Jinja
32 lines
1.2 KiB
Django/Jinja
<?xml version="1.0" encoding="utf-8"?>
|
|
<feed xmlns="http://www.w3.org/2005/Atom"
|
|
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
|
|
xmlns:pse="http://vaemendis.net/opds-pse/ns">
|
|
<id>{{ feed_id }}</id>
|
|
<updated>{{ updated }}</updated>
|
|
<title>{{ title }}</title>
|
|
|
|
|
|
<author>
|
|
<name>ComicOPDS</name>
|
|
<uri>https://gitea.baerentsen.space/FrederikBaerentsen/ComicOPDS</uri>
|
|
</author>
|
|
|
|
<link rel="self" type="application/atom+xml;profile=opds-catalog" href="{{ base }}{{ self_href }}" />
|
|
<link rel="start" type="application/atom+xml;profile=opds-catalog" href="{{ base }}{{ start_href }}" />
|
|
<link rel="search" type="application/opensearchdescription+xml" href="{{ base }}{{ search_href }}" />
|
|
{% if next_href %}
|
|
<link rel="next" type="application/atom+xml;profile=opds-catalog" href="{{ base }}{{ next_href }}" />
|
|
{% endif %}
|
|
|
|
{% if os_total is defined %}
|
|
<opensearch:totalResults>{{ os_total }}</opensearch:totalResults>
|
|
<opensearch:startIndex>{{ os_start }}</opensearch:startIndex>
|
|
<opensearch:itemsPerPage>{{ os_items }}</opensearch:itemsPerPage>
|
|
{% endif %}
|
|
|
|
{% for e in entries -%}
|
|
{{ e | safe }}
|
|
{% endfor %}
|
|
</feed>
|