hrss/web/templates/feed.xml
2018-10-24 23:57:41 +02:00

18 lines
656 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>{{ rss.title }}</title>
<icon>https://www.google.com/s2/favicons?domain={{ feed.url }}</icon>
<logo>https://www.google.com/s2/favicons?domain={{ feed.url }}</logo>
<description>Generated by HRSS</description>
<link>{{ feed.url }}</link>
{% for item in rss.items %}
<item>
<title>{{ item.title }}</title>
<description>{{ item.content }}</description>
<pubDate>{{ item.date }}</pubDate>
<link>{{ item.link }}</link>
</item>
{% endfor %}
</channel>
</rss>