aboutsummaryrefslogtreecommitdiff
path: root/source/atom.xml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/atom.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/source/atom.xml b/source/atom.xml
new file mode 100644
index 00000000..3b4e6613
--- /dev/null
+++ b/source/atom.xml
@@ -0,0 +1,28 @@
+---
+layout: nil
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+ <title>{{ site.blog_title }}</title>
+ <link href="{{ site.url }}/atom.xml" rel="self"/>
+ <link href="{{ site.url }}/"/>
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
+ <id>{{ site.url }}/</id>
+ <author>
+ <name>{{ site.author }}</name>
+ {% if site.email %}
+ <email>{{ site.email }}</email>
+ {% endif %}
+ </author>
+
+ {% for post in site.posts %}
+ <entry>
+ <title>{{ post.title }}</title>
+ <link href="{{ site.url }}{{ post.url }}"/>
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
+ <id>{{ site.url }}{{ post.id }}</id>
+ <content type="html">{{ post.content | full_urls: site.url | xml_escape }}</content>
+ </entry>
+ {% endfor %}
+</feed>