Created
June 8, 2012 15:42
-
-
Save 5minpause/2896245 to your computer and use it in GitHub Desktop.
RSS.xml definition for octopress feed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: nil | |
--- | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"> | |
<channel> | |
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" xmlns:atom="http://www.w3.org/2005/Atom"/> | |
<title>{{ site.title | xml_escape }}</title> | |
<generator>Octopress</generator> | |
<link>{{ site.url }}</link> | |
{% for post in site.posts limit: 20 %} | |
<item> | |
<title>{{ post.title | xml_escape }}</title> | |
<description>{{ post.content | expand_urls: site.url | cdata_escape }}</description> | |
<link>{{ site.url }}{{ post.url }}</link> | |
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate> | |
<guid>{{ site.url }}{{ post.id }}</guid> | |
</item> | |
{% endfor %} | |
</channel> | |
</rss> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment