Permalink
Browse files

Adding an rss feed. Closes #12

  • Loading branch information...
heathermiller committed Dec 30, 2011
1 parent 9a204ff commit bf23b4fd98c0c65bc44b1703ec40b48aabb76d42
Showing with 19 additions and 0 deletions.
  1. +19 −0 feed.rss
View
@@ -0,0 +1,19 @@
+---
+layout: rss-feed
+---
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0">
+ <channel>
+ <title>{{ site.name }}</title>
+ <description>{{ site.description }}</description>
+ <link>{{ site.url }}</link>
+ {% for post in site.posts limit:20 %}
+ <item>
+ <title>{{ post.title }}</title>
+ <description>{{ post.content | xml_escape }}</description>
+ <published>{{ post.date }}</published>
+ <link>{{ site.url }}{{ post.url }}</link>
+ </item>
+ {% endfor %}
+ </channel>
+</rss>

0 comments on commit bf23b4f

Please sign in to comment.