Skip to content

Commit

Permalink
Add a stupid atom feed
Browse files Browse the repository at this point in the history
  • Loading branch information
R. Tyler Croy committed Aug 31, 2012
1 parent abb8ac2 commit 6a39398
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/sidebar.html
Expand Up @@ -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>

<!--
Expand Down
26 changes: 26 additions & 0 deletions atom.xml
@@ -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.