-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatom.xml
41 lines (38 loc) · 1.31 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
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Jilion Blog</title>
<link href="http://blog.jilion.com/atom.xml" rel="self"/>
<link href="http://blog.jilion.com" rel="alternate" type="text/html" hreflang="en" />
<updated>{{ site.time | date_to_xmlschema }}</updated>
<rights>Copyright (c) {{ site.time | this_year }} Jilion (r) SA</rights>
<id>http://blog.jilion.com</id>
<author>
<name>Jilion</name>
<email>[email protected]</email>
</author>
{% for post in site.posts %}
<entry>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ post.url | pretty_url }}"/>
{% if post.wordpress_url %}
<id>{{ post.wordpress_url }}</id>
{% else %}
<id>{{ post.id | pretty_url }}</id>
{% endif %}
<updated>{{ post.date | date_to_xmlschema }}</updated>
<published>{{ post.date | date_to_xmlschema }}</published>
{% if post.authors %}
<author>
<name>{{ post.authors | xml_escape }}</name>
</author>
{% endif %}
{% for tag in post.tags %}
<category scheme="{{ tag | pretty_tag_url }}" term="{{ tag | pretty_tag }}" label="{{ tag }}"/>
{% endfor %}
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}
</feed>