Skip to content

Instantly share code, notes, and snippets.

@doncruse
Forked from stammy/index.xml
Created September 23, 2011 11:42
Show Gist options
  • Save doncruse/1237173 to your computer and use it in GitHub Desktop.
Save doncruse/1237173 to your computer and use it in GitHub Desktop.
Atom feed for Jekyll
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="text" xml:lang="en">{{ site.root_desc }}</title>
<link type="application/atom+xml" href="http://www.doncruse.com/feed/" rel="self"/>
<link type="text" href="http://www.doncruse.com" rel="alternate"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://www.doncruse.com/talks</id>
<author>
<name>Don Cruse</name>
<uri>http://www.doncruse.com/about-don.html</uri>
<email>don@doncruse.com</email>
</author>
<rights>(c) 2006-{{ site.time | date(site.time, "%Y") }} Don Cruse</rights>
{% for post in site.posts limit:20 %}
<entry>
<title>{{ post.title }}</title>
<link href="http://www.doncruse.com{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://www.doncruse.com{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment