Created
April 2, 2015 15:45
-
-
Save zspencer/ccb7dd7d41d2e9a77ca6 to your computer and use it in GitHub Desktop.
sample xml
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"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title>Musings and Mutterings of Zee Spencer</title> | |
<link rel="self" type="application/atom+xml" href="http://zeespencer.com/index.xml" /> | |
<link href="http://zeespencer.com/" /> | |
<updated>{{ site.time | date_to_xmlschema }}</updated> | |
<id>http://zeespencer.com/</id> | |
<author> | |
<name>Zee</name> | |
<email>[email protected]</email> | |
</author> | |
{% for post in site.posts %} | |
{% unless post.tags contains 'draft' %} | |
<entry> | |
<id>http://zeespencer.com{{ post.id }}</id> | |
<link type="text/html" rel="alternate" href="http://zeespencer.com{{ post.url }}"/> | |
<title>{{ post.title }}</title> | |
<updated>{{ post.date | date_to_xmlschema }}</updated> | |
<author> | |
<name>Zee</name> | |
<uri>http://zeespencer.com/</uri> | |
</author> | |
<content type="html">{{ post.content | xml_escape }}</content> | |
</entry> | |
{% endunless %} | |
{% endfor %} | |
</feed> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment