From 64160ded623c4f4d6285b8d581a4bb068acccae4 Mon Sep 17 00:00:00 2001 From: Kenny Pitt Date: Mon, 16 Dec 2013 23:38:49 -0500 Subject: [PATCH] Add template for RSS 2.0 feed. --- feed/rss.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 feed/rss.xml diff --git a/feed/rss.xml b/feed/rss.xml new file mode 100644 index 0000000..a3dc3af --- /dev/null +++ b/feed/rss.xml @@ -0,0 +1,35 @@ +--- +layout: nil +--- + + + + PittGeek + {{ site.canonical_url }}/ + + A blog only a geek could love + en-us + {{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }} + + {% for post in site.posts %} + {% if post.external-url %} + {% capture title_url %}{{ post.external-url }}{% endcapture %} + {% else %} + {% capture title_url %}{{ site.canonical_url }}{{ post.url }}{% endcapture %} + {% endif %} + + {{ post.title }} + {{ title_url }} + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + kenny.pitt@gmail.com (Kenny Pitt) + {% for category in post.tags %} + {{ category | xml_escape }} + {% endfor %} + {{ site.canonical_url }}{{ post.id }} + {{ post.content | xml_escape }} + + {% endfor %} + + +