Skip to content

Instantly share code, notes, and snippets.

@jonmagic
Created January 16, 2012 22:00
Show Gist options
  • Save jonmagic/1623249 to your computer and use it in GitHub Desktop.
Save jonmagic/1623249 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>jonmagic.com {{ blog.title }}</title>
<link href="{{ blog.feed.url }}" rel="self" />
<link href="{{ blog.url }}" />
<id>{{ blog.url }}</id>
<updated>{{ blog.last_updated_at | isodate }}</updated>
{% for post in blog.recent_posts.15 %}
<entry>
<title>{{ post.title | h }}</title>
<link href="{{ post.url }}" />
<id>{{ post.url }}</id>
<updated>{{ post.updated_at | isodate }}</updated>
<published>{{ post.published_at | isodate }}</published>
{% for label in post.labels %}<category term="{{ label }}"/>{% endfor %}
<summary type="html">{{ post.data.excerpt | h }}</summary>
<content type="html">{{ post.data.excerpt | h }}{{ post.data.body | h }}</content>
<author>
<name>{{ post.creator.name | h }}</name>
</author>
</entry>
{% endfor %}
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment