Permalink
Browse files

Add a stupid atom feed

  • Loading branch information...
1 parent abb8ac2 commit 6a393986fb06e64a49d7216b0d06784973fd9475 @rtyler committed Aug 31, 2012
Showing with 27 additions and 0 deletions.
  1. +1 −0 _includes/sidebar.html
  2. +26 −0 atom.xml
View
@@ -4,6 +4,7 @@
<li class="download"><a href="/tags/workflow.html">Workflow</a></li>
<br/>
<li class="download"><a href="/about.html">About</a></li>
+ <li class="download"><a href="/atom.xml">Atom Feed</a></li>
</ul>
<!--
View
@@ -0,0 +1,26 @@
+---
+layout: nil
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+ <title>Operations Anti-Patterns</title>
+ <link href="http://opsantipatterns.com/atom.xml" rel="self"/>
+ <link href="http://opsantipatterns.com/"/>
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
+ <id>http://opsantipatterns.com/</id>
+ <author>
+ <name>R. Tyler Croy</name>
+ <email>tyler@linux.com</email>
+ </author>
+
+ {% for post in site.posts limit:20 %}
+ <entry>
+ <title>{{ post.title }}</title>
+ <link href="http://opsantipatterns.com{{ post.url }}"/>
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
+ <id>http://opsantipatterns.com{{ post.id }}</id>
+ <content type="html">{{ post.content | xml_escape }}</content>
+ </entry>
+ {% endfor %}
+
+</feed>

0 comments on commit 6a39398

Please sign in to comment.