aboutsummaryrefslogtreecommitdiffstats
path: root/templates/feed.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/feed.xml')
-rw-r--r--templates/feed.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/feed.xml b/templates/feed.xml
new file mode 100644
index 0000000..a252134
--- /dev/null
+++ b/templates/feed.xml
@@ -0,0 +1,27 @@
+
+<rss version="2.0">
+ <channel>
+ <title>{{ config.TITLE }}</title>
+ <link>{{ config.LINK }}</link>
+ <description>{{ config.DESCRIPTION }}</description>
+ <!-- Optional -->
+ <language>{{ config.LANGUAGE }}</language>
+ <pubDate> {{ config.PUBDATE }}</pubDate>
+ <lastBuildDate> {{ config.LASTBUILDDATE }}</lastBuildDate>
+ <docs>{{ config.DOCS }}</docs>
+ <generator>{{ config.GENERATOR }}</generator>
+ <managingEditor>{{ config.AUTHOR }}</managingEditor>
+ <webMaster>{{ config.WEBMASTER }}</webMaster>
+ {% for item in items %}
+ <item>
+ <title>{{ item.TITLE }}</title>
+ <link>{{ item.LINK }}</link>
+ <guid>{{ item.LINK }}</guid>
+ <description>{{ item.DESCRIPTION }}</description>
+ <pubDate>{{ item.LAST_UPDATE }}</pubDate>
+ <category>{{ item.SITE_DIR }}</category>
+ <author>{{ config.AUTHOR }}</author>
+ </item>
+ {% endfor %}
+ </channel>
+</rss>