Skip to content

Instantly share code, notes, and snippets.

@dkarzon
Created January 9, 2014 03:25

Revisions

  1. dkarzon created this gist Jan 9, 2014.
    28 changes: 28 additions & 0 deletions atom.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    ---
    layout: nil
    ---

    <?xml version="1.0" encoding="utf-8"?>
    <feed xmlns="http://www.w3.org/2005/Atom">

    <title>DK Development</title>
    <link href="http://dkdevelopment.net/atom.xml" rel="self"/>
    <link href="http://dkdevelopment.net/"/>
    <updated>{{ site.time | date_to_xmlschema }}</updated>
    <id>http://dkdevelopment.net/</id>
    <author>
    <name>Damian Karzon</name>
    <email>dkarzon@tboda.com</email>
    </author>

    {% for post in site.posts %}
    <entry>
    <title>{{ post.title }}</title>
    <link href="http://dkdevelopment.net{{ post.url }}"/>
    <updated>{{ post.date | date_to_xmlschema }}</updated>
    <id>http://dkdevelopment.net{{ post.id }}</id>
    <content type="html">{{ post.content | xml_escape }}</content>
    </entry>
    {% endfor %}

    </feed>