-
Notifications
You must be signed in to change notification settings - Fork 2
/
atom.xml
executable file
·26 lines (23 loc) · 1.23 KB
/
atom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="text" xml:lang="en">{{ page.title }}</title>
<link rel="self" type="application/atom+xml" href="{{ site.production_url }}/atom.xml" />
<link rel="alternate" type="text/html" href="{{ site.production_url }}"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<author>
<name>{{ site.title }}</name>
</author>
<id>{{ site.production_url }}{{ page.id }}</id>
<rights>Copyright (c) {{ site.time | date: "%Y" }}, {{ site.nam }}; all rights reserved.</rights>{% for post in site.posts %}
<entry>
<title type="text" xml:lang="en">{{ post.title }}</title>
<id>{{ site.production_url }}{{ post.id }}</id>
<link rel="alternate" type="text/html" href="{{ site.production_url }}{{ post.url }}"/>
<published>{{ post.date | date_to_xmlschema }}</published>
<summary type="text" xml:lang="en">{{ post.summary }}</summary>{% for category in post.categories %}
<category term="{{ category | downcase }}" />{% endfor %}
<content type="html" xml:lang="en" xml:base="{{ site.production_url }}/">{{ post.content | xml_escape }}</content>
</entry>{% endfor %}
</feed>