summaryrefslogtreecommitdiffstats
path: root/templates/blog/rss.xml
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-10-29 01:37:55 +0200
committerGravatar Tom Willemsen2011-10-29 01:37:55 +0200
commite533b3b82e254e2c22ed40a570b5e8b31a1f126b (patch)
treea00124042dfa293948994a01cbd6fc2d01da8323 /templates/blog/rss.xml
parentd7f99435105fd28e730427c0e494c9607d3803a3 (diff)
downloaddotfiles-e533b3b82e254e2c22ed40a570b5e8b31a1f126b.tar.gz
dotfiles-e533b3b82e254e2c22ed40a570b5e8b31a1f126b.zip
First try at an ATOM feed
Diffstat (limited to 'templates/blog/rss.xml')
-rw-r--r--templates/blog/rss.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/blog/rss.xml b/templates/blog/rss.xml
new file mode 100644
index 0000000..9cc6df3
--- /dev/null
+++ b/templates/blog/rss.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+ <title>ryuslash.org</title>
+ <link href="http://ryuslash.org/feed/rss/" rel="self" />
+ <link href="http://ryuslash.org/" />
+ <id>http://ryuslash.org/blog/</id>
+ <author>
+ <name>Tom Willemsen</name>
+ </author>
+ <updated>2011-10-29T23:16:00+01:00</updated>
+
+ {% for post in postlist %}
+ <entry>
+ <title>{{ post.subject }}</title>
+ <link href="http://ryuslash.org/blog/post/{{ post.pk }}/" />
+ <id>http://ryuslash.org/blog/post/{{ post.pk }}/</id>
+ <updated>{{ post.postdate|date:"c" }}</updated>
+ <content type="xhtml" xml:base="http://ryuslash.org/">
+ <div xmlns="http://www.w3.org/1999/xhtml">
+ {{ post.body|linebreaksbr }}
+ </div>
+ </content>
+ </entry>
+ {% endfor %}
+</feed>