my_blog/templates/feed.rss

25 lines
709 B
XML

<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>chmod777's blog</title>
<link>http://tilde.club/~chmod777/blog/blog.html</link>
<description>chmod777's blog where they post about their tech and non tech projects.</description>
<language>en-us</language>
<category>blog</category>
<managingEditor>chmod777@tilde.club</managingEditor>
<webMaster>chmod777@tilde.club</webMaster>
{% for post in posts %}
<item>
<title>{{ post.title | safe }}</title>
<link>{{ post.full_url | safe }}</link>
<description>{{ post.summary | safe }}</description>
{% if post.image %}
<image>{{ post.image | safe }}</image>
{% endif %}
</item>
{% endfor %}
</channel>
</rss>