diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-01-29 14:38:58 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-01-29 14:38:58 -0800 |
commit | c636b273daf657eb05041ce2528959910e7db162 (patch) | |
tree | ca4ce0e03286b5d6c9fbcac8d9db6d4e2d5bf1ef /sites/www/_templates | |
parent | 473a9cdf5b22c8bbc4d4e95d419c8bd153f05e21 (diff) | |
parent | b8d1724f5714c27ad02ae013e87f5531aec041ea (diff) |
Merge branch '1.10' into 1.11
Conflicts:
dev-requirements.txt
tox.ini
Diffstat (limited to 'sites/www/_templates')
-rw-r--r-- | sites/www/_templates/rss.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sites/www/_templates/rss.xml b/sites/www/_templates/rss.xml new file mode 100644 index 00000000..f6f9cbd1 --- /dev/null +++ b/sites/www/_templates/rss.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> + <channel> + <atom:link href="{{ atom }}" rel="self" type="application/rss+xml" /> + <title>{{ title }}</title> + <link>{{ link }}</link> + <description>{{ description }}</description> + <pubDate>{{ date }}</pubDate> + {% for link, title, desc, date in posts %} + <item> + <link>{{ link }}</link> + <guid>{{ link }}</guid> + <title><![CDATA[{{ title }}]]></title> + <description><![CDATA[{{ desc }}]]></description> + <pubDate>{{ date }}</pubDate> + </item> + {% endfor %} + </channel> +</rss> |