arsenetar.github.io/atom.xml

32 řádky
938 B
XML

---
layout: nil
---
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Your Website</title>
<link href="{{ site.url }}"/>
<link type="application/atom+xml" rel="self" href="{{ site.url }}/atom.xml"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}</id>
<author>
<name>{{ site.author }}</name>
<email>{{ site.email }}</email>
</author>
{% for post in site.posts %}
<entry>
<id>{{ site.url }}{{ post.id }}</id>
<link type="text/html" rel="alternate" href="{{ site.url }}{{ post.url }}"/>
<title>{{ post.title }}</title>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<author>
<name>{{ site.author }}</name>
<uri>{{ site.url }}/author.html</uri>
</author>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}
</feed>