-
Notifications
You must be signed in to change notification settings - Fork 9
/
atom.xml
44 lines (41 loc) · 1.7 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
layout: null
title: Atom RSS feed
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<generator uri="{{ site.url }}{{ site.baseurl }}" version="1.0.0">{{ site.author.name }}</generator>
<title>{{ site.title | strip_html | xml_escape }}</title>
<subtitle>{{ site.description | strip_html | xml_escape }}</subtitle>
<link href="{{ site.url }}{{ site.baseurl }}/" rel="alternate" type="application/atom+xml" title="ATOM Feed for {{ site.title | strip_html | xml_escape }}"/>
<link href="{{ site.url }}{{ site.baseurl }}/atom.xml" rel="self" type="application/atom+xml"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ site.baseurl }}/</id>
{% if site.author.name != null %}
<author>
<name>{{ site.author.name }}</name>
{% if site.author.email != null %}
<email>{{ site.author.email }}</email>
{% endif %}
</author>
{% endif %}
{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="{{ site.url }}{{ site.baseurl }}{{ post.url }}" rel="alternate" type="text/html" title="{{ post.title }}"/>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ site.baseurl }}{{ post.id }}</id>
<content type="html" xml:base="{{ site.url }}{{ site.baseurl }}{{ post.id }}">{{ post.excerpt | strip_html | xml_escape }}</content>
{% if site.author.name != null %}
<author>
<name>{{ site.author.name }}</name>
{% if site.author.email != null %}
<email>{{ site.author.email }}</email>
{% endif %}
</author>
{% endif %}
<summary>{{ post.content | strip_html | xml_escape }}</summary>
</entry>
{% endfor %}
</feed>