summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Mota <josemota.net@gmail.com>2012-05-24 21:31:50 +0100
committerJosé Mota <josemota.net@gmail.com>2012-05-24 21:31:50 +0100
commitcbea44c4f38484be5c4370162a2ac6899f8b3880 (patch)
tree248d7ea57426edff223748dc4888c28b21dbf817
parent531bb6b87d140880783e237e14c7982a10d3ed7c (diff)
Add RSS.
-rw-r--r--rss.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/rss.xml b/rss.xml
new file mode 100644
index 0000000..4722d0c
--- /dev/null
+++ b/rss.xml
@@ -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>