From 867e8acae887638beb5107fb7a5c9f3e403d06e0 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Fri, 9 Nov 2012 00:35:28 -0500 Subject: add rss flux --- templates/news/list.html | 4 ++-- templates/rss.xml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 templates/rss.xml (limited to 'templates') diff --git a/templates/news/list.html b/templates/news/list.html index 61625c1..2f273e1 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -10,7 +10,7 @@ {% for user in users %} - + {% endfor %} @@ -24,7 +24,7 @@ {{comment.content_cache|shortify|safe}} […] {% else %} - Pas de commentaires." + Pas de commentaires. {% endfor %} 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 @@ + + + +Actualités de la famille +http://famille.horel.org +Actualités de la la famille + +{% for news in news %} + +{{news.title}} +{{news.name}} +http://famille.horel.org{{url_for('show_news', news_id=news.id)}} +{{news.content_cache}} +{{news.date}} +{{news.id}} + +{% endfor %} + + -- cgit v1.3
{{user.user_name}}{{user.user_name}} {{user.last_seen|format_date}}