summaryrefslogtreecommitdiff
path: root/templates/feed.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/feed.xml')
-rw-r--r--templates/feed.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/feed.xml b/templates/feed.xml
new file mode 100644
index 00000000..e509fd10
--- /dev/null
+++ b/templates/feed.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<rss version="2.0">
+ <channel>
+ <title>{{ title }}</title>
+ <link>{{ site_url }}</link>
+ <description>gnunet.org feed</description>
+ {% for item in items %}
+ <item>
+ <title>{{ item[0] }}</title>
+ <link href="{{ item[1] }}" />
+ <content type="html">{{ item[2] }}</content>
+ </item>
+ {% endfor %}
+ </channel>
+</rss>