sts-api/data/templates/xml.blocks.rss2.item.xml.jinja

14 lines
399 B
Text
Raw Normal View History

2023-02-02 03:47:12 +01:00
<item>
<title>{{ item.title }}</title>
<link>{{ item.link }}</link>
<description>{{ item.description|e }}</description>
{% if item.author != "None" %}
<author>{{ item.author }}</author>
{% endif %}
{% if item.tags %}
<category>{{ item.tags|join('/') }}</category>
{% endif %}
{% if item.indexDate != "None" %}
<pubDate>{{ item.indexDate }}</pubDate>
{% endif %}
</item>