arsenetar.github.io/atom.xml

36 lines
1.5 KiB
XML

---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title type="text">{{ site.title }}</title>
<generator uri="http://jekyllrb.com/">Jekyll</generator>
<link rel="self" type="application/atom+xml" href="{{ site.url }}/atom.xml"/>
<link rel="alternate" type="text/html" href="{{ site.url }}"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}/</id>
<author>
<name>{{ site.owner.name }}</name>
<uri>{{ site.url }}/</uri>
<email>{{ site.owner.email }}</email>
</author>
{% for post in site.posts limit:20 %}
<entry>
<id>{{ site.url }}{{ post.id }}</id>
<link type="text/html" rel="alternate" href="{{ site.url }}{{ post.url }}"/>
<title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{% if post.modified %}{{ post.modified | to_xmlschema }}T00:00:00-00:00{% else %}{{ post.date | date_to_xmlschema }}{% endif %}</updated>
<author>
<name>{{ site.owner.name }}</name>
<uri>{{ site.url }}/</uri>
<email>{{ site.owner.email }}</email>
</author>
<content type="html">{{ post.content | xml_escape }}
&lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title }}&lt;/a&gt; was originally published by {{ site.owner.name }} at &lt;a href=&quot;{{ site.url }}/&quot;&gt;{{ site.title }}&lt;/a&gt; on {{ post.date | date: "%B %d, %Y" }}.&lt;/p&gt;</content>
</entry>
{% endfor %}
</feed>