Skip to content

Instantly share code, notes, and snippets.

@cypher
Created April 26, 2011 11:24
Show Gist options
  • Save cypher/942123 to your computer and use it in GitHub Desktop.
Save cypher/942123 to your computer and use it in GitHub Desktop.

Revisions

  1. cypher created this gist Apr 26, 2011.
    27 changes: 27 additions & 0 deletions feed.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    ---
    layout: nil
    ---
    <?xml version="1.0" encoding="utf-8"?>
    <feed xmlns="http://www.w3.org/2005/Atom">

    <title>The Nuclear Squid</title>
    <link href="http://nuclearsquid.com/feed.xml" rel="self"/>
    <link href="http://nuclearsquid.com/"/>
    <updated>{{ site.time | date_to_xmlschema }}</updated>
    <id>http://nuclearsquid.com/</id>
    <author>
    <name>Markus Prinz</name>
    <email>[email protected]</email>
    </author>

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

    </feed>