2015-03-28 13:27:45 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-06-13 16:48:10 +00:00
|
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
|
|
{% if type != 'tag' %}
|
2022-05-03 21:28:20 +00:00
|
|
|
<title>wallabag — {{ type }} feed</title>
|
2017-06-13 16:48:10 +00:00
|
|
|
<subtitle type="html">Atom feed for {{ type }} entries</subtitle>
|
2022-05-03 21:28:20 +00:00
|
|
|
<id>wallabag:{{ domainName|removeScheme|removeWww }}:{{ user }}:{{ type }}</id>
|
2017-06-13 16:48:10 +00:00
|
|
|
<link rel="alternate" type="text/html" href="{{ url(type) }}"/>
|
|
|
|
{% else %}
|
2022-05-03 21:28:20 +00:00
|
|
|
<id>wallabag:{{ domainName|removeScheme|removeWww }}:{{ user }}:{{ type }}:{{ tag }}</id>
|
2017-06-13 16:48:10 +00:00
|
|
|
<link rel="alternate" type="text/html" href="{{ url('tag_entries', {'slug': tag}) }}"/>
|
2022-05-03 21:28:20 +00:00
|
|
|
<title>wallabag — {{ type }} {{ tag }} feed</title>
|
2017-06-13 16:48:10 +00:00
|
|
|
<subtitle type="html">Atom feed for entries tagged with {{ tag }}</subtitle>
|
|
|
|
{% endif %}
|
2022-03-10 07:06:55 +00:00
|
|
|
{% if updated %}
|
2022-05-03 21:28:20 +00:00
|
|
|
<updated>{{ updated|date('c') }}</updated> {# Indicates the last time the feed was modified in a significant way. #}
|
2017-06-13 16:48:10 +00:00
|
|
|
{% endif %}
|
|
|
|
<link rel="self" type="application/atom+xml" href="{{ app.request.uri }}"/>
|
|
|
|
{% if entries.hasPreviousPage %}
|
|
|
|
<link rel="previous" href="{{ url }}/{{ entries.previousPage }}"/>
|
|
|
|
{% endif -%}
|
|
|
|
{% if entries.hasNextPage %}
|
|
|
|
<link rel="next" href="{{ url }}/{{ entries.nextPage }}"/>
|
|
|
|
{% endif -%}
|
|
|
|
<link rel="last" href="{{ url }}/{{ entries.nbPages }}"/>
|
|
|
|
<generator uri="https://wallabag.org" version="{{ version }}">wallabag</generator>
|
|
|
|
<author>
|
|
|
|
<name>{{ user }}</name>
|
|
|
|
</author>
|
|
|
|
<icon>{{ asset('favicon.ico') }}</icon>
|
2024-02-24 23:10:23 +00:00
|
|
|
<logo>{{ asset('img/logo-square.svg') }}</logo>
|
2017-06-13 16:48:10 +00:00
|
|
|
{% for entry in entries %}
|
|
|
|
<entry>
|
|
|
|
<title><![CDATA[{{ entry.title|e }}]]></title>
|
2021-07-08 20:36:50 +00:00
|
|
|
<link href="{{ entry.url }}"/>
|
2017-06-13 16:48:10 +00:00
|
|
|
<link rel="alternate" type="text/html"
|
|
|
|
href="{{ url('view', {'id': entry.id}) }}"/>
|
2021-07-08 20:36:50 +00:00
|
|
|
<link rel="via"
|
|
|
|
href="{{ entry.url }}"/>
|
2022-05-03 21:28:20 +00:00
|
|
|
<id>wallabag:{{ domainName|removeScheme|removeWww }}:{{ user }}:entry:{{ entry.id }}</id>
|
2017-06-13 16:48:10 +00:00
|
|
|
<updated>{{ entry.updatedAt|date('c') }}</updated>
|
|
|
|
<published>{{ entry.createdAt|date('c') }}</published>
|
|
|
|
{% for tag in entry.tags %}
|
|
|
|
<category term="{{ tag.slug }}" label="{{ tag.label }}" />
|
2015-03-28 13:27:45 +00:00
|
|
|
{% endfor %}
|
2017-06-13 16:48:10 +00:00
|
|
|
{% for author in entry.publishedBy %}
|
|
|
|
<author>
|
|
|
|
<name>{{ author }}</name>
|
|
|
|
</author>
|
|
|
|
{% endfor %}
|
|
|
|
<content type="html" {% if entry.language %}xml:lang="{{ entry.language[:2] }}"{% endif %}>
|
|
|
|
<![CDATA[{%- if entry.readingTime > 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]>
|
|
|
|
</content>
|
|
|
|
</entry>
|
|
|
|
{% endfor %}
|
|
|
|
</feed>
|