summaryrefslogtreecommitdiffstats
path: root/treffen.atom
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-03-13 02:09:13 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-03-13 02:10:40 +0100
commit37a5a78e487fdfeede9c444ce45a6a56b4b96cd8 (patch)
treeab88adaf0871557d32539dee9a8ff8bfaffa97fd /treffen.atom
parent462dcc66547cd19bfb83c72b4dacd49f99fa226d (diff)
downloadwww-37a5a78e487fdfeede9c444ce45a6a56b4b96cd8.tar.gz
www-37a5a78e487fdfeede9c444ce45a6a56b4b96cd8.tar.bz2
www-37a5a78e487fdfeede9c444ce45a6a56b4b96cd8.zip
treffen.atom: add atom for protos
Diffstat (limited to 'treffen.atom')
-rw-r--r--treffen.atom34
1 files changed, 34 insertions, 0 deletions
diff --git a/treffen.atom b/treffen.atom
new file mode 100644
index 0000000..0ce6fcd
--- /dev/null
+++ b/treffen.atom
@@ -0,0 +1,34 @@
+{% meta %}
+ isdir: False
+ parent_tmpl: _empty.html
+{% endmeta %}
+
+{% block content -%}
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
+ <id>{{ site.url }}</id>
+ <title>{{ site.title }}</title>
+ {% if site.latest_post -%}
+ <updated>{{ site.latest_post.mtime|rfc3339 }}</updated>
+ {%- endif %}
+ <author>
+ <name>{{ site.author }}</name>
+ </author>
+ <link href="{{ site.url }}" rel="alternate"></link>
+ <generator uri="http://hg.piranha.org.ua/cyrax/">cyrax</generator>
+
+{%- for post in site.posts|filter_by_path('treffen/')|batch(5)|first %}
+ <entry>
+ <id>{{ post.get_absolute_url() }}</id>
+ <title type="html">{{ post.title|e }}</title>
+ <updated>{{ post.updated|default(post.date)|rfc3339 }}</updated>
+ <published>{{ post.date|rfc3339 }}</published>
+ {% for tag in post.tags -%}
+ <category term="{{ tag }}"></category>
+ {%- endfor %}
+ <link href="{{ post.get_absolute_url() }}" rel="alternate"></link>
+ <content type="html">{{ post.body|e }}</content>
+ </entry>
+{% endfor %}
+</feed>
+{%- endblock %}