diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-01-13 12:17:46 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-01-21 16:15:30 -0800 |
commit | ccb7a6c2cd22689d363a03da2c7a2bcf4e27a0c8 (patch) | |
tree | adc45f9bb09a5a9fe28ba9d02a35e956e0ef1e20 /sites/main/_templates/rss.xml | |
parent | 7d56ecb1a7d1654ae971e9896aa26e938454d3ea (diff) |
Start fleshing out two-site setup
Diffstat (limited to 'sites/main/_templates/rss.xml')
-rw-r--r-- | sites/main/_templates/rss.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sites/main/_templates/rss.xml b/sites/main/_templates/rss.xml new file mode 100644 index 00000000..f6f9cbd1 --- /dev/null +++ b/sites/main/_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> |