aboutsummaryrefslogtreecommitdiffstats
path: root/templates/rss.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/rss.xml')
-rw-r--r--templates/rss.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/rss.xml b/templates/rss.xml
new file mode 100644
index 0000000..d0e7caa
--- /dev/null
+++ b/templates/rss.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rss version="2.0">
+<channel>
+<description>Actualités de la famille</description>
+<link>http://famille.horel.org</link>
+<title>Actualités de la la famille</title>
+
+{% for news in news %}
+<item>
+<title>{{news.title}}</title>
+<author>{{news.name}}</author>
+<link>http://famille.horel.org{{url_for('show_news', news_id=news.id)}}</link>
+<description>{{news.content_cache}}</description>
+<pubDate>{{news.date}}</pubDate>
+<guid>{{news.id}}</guid>
+</item>
+{% endfor %}
+</channel>
+</rss>