summaryrefslogtreecommitdiff
path: root/default-files/rss.xml
diff options
context:
space:
mode:
authorPeter Ludikovsky <peter@ludikovsky.name>2016-02-15 19:28:37 +0000
committerPeter Ludikovsky <peter@ludikovsky.name>2016-02-15 19:28:37 +0000
commitc2547e0b684e61539666ec6d130145fe1c59f341 (patch)
treea034f2ac86d5bdb637aa01adefe5cd3e5a69c970 /default-files/rss.xml
parentcd10c52edb146a0542cce6a65cfb3ae134c232dc (diff)
Added support for Atom feeds, improved validation for RSS feeds
Diffstat (limited to 'default-files/rss.xml')
-rw-r--r--default-files/rss.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/default-files/rss.xml b/default-files/rss.xml
new file mode 100644
index 0000000..cc48d00
--- /dev/null
+++ b/default-files/rss.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rss version="2.0">
+ <channel>
+
+ <title><?fugitive-install name ?>'s blog rss feed</title>
+ <link><?fugitive blog_url ?></link>
+ <description>5 last published articles</description>
+ <generator>fugitive - http://gitorious.org/fugitive</generator>
+ <lastBuildDate><?fugitive commit_date_html5 ?></lastBuildDate>
+
+ <?fugitive foreach:article ?>
+ <item>
+ <title><![CDATA[<?fugitive article_title ?>]]></title>
+ <link><?fugitive blog_url ?><?fugitive article_file ?>.html</link>
+ <description><![CDATA[<?fugitive article_content ?>]]></description>
+ <author><?fugitive article_cauthor ?></author>
+ <guid><?fugitive blog_url ?><?fugitive article_file ?>.html</guid>
+ <pubDate><?fugitive article_cdatetime_html5 ?></pubDate>
+ </item>
+ <?fugitive endforeach:article ?>
+
+ </channel>
+</rss>