diff options
author | José Mota <josemota.net@gmail.com> | 2012-05-24 21:31:50 +0100 |
---|---|---|
committer | José Mota <josemota.net@gmail.com> | 2012-05-24 21:31:50 +0100 |
commit | cbea44c4f38484be5c4370162a2ac6899f8b3880 (patch) | |
tree | 248d7ea57426edff223748dc4888c28b21dbf817 | |
parent | 531bb6b87d140880783e237e14c7982a10d3ed7c (diff) |
Add RSS.
-rw-r--r-- | rss.xml | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -0,0 +1,27 @@ +--- +layout: nil +--- +<?xml version="1.0"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> + <channel> + <title>coyled.com</title> + <link>http://coyled.com/</link> + <atom:link href="http://coyled.com/rss.xml" rel="self" type="application/rss+xml" /> + <description>stuff from coyled</description> + <language>en-us</language> + <pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate> + <lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate> + + {% for post in site.posts %} + <item> + <title>{{ post.title }}</title> + <link>http://coyled.com{{ post.url }}</link> + <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate> + <author>coyled@coyled.com (Dave Coyle)</author> + <guid>http://coyled.com{{ post.id }}</guid> + <description>{{ post.content | xml_escape }}</description> + </item> + {% endfor %} + + </channel> +</rss> |