-
Notifications
You must be signed in to change notification settings - Fork 1
/
atom.xml
31 lines (31 loc) · 1.35 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
---
layout: nil
title : Atom Feed
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="text">{{ site.title }}</title>
<subtitle type="text">{{ site.tagline }}</subtitle>
<link href="{{ site.production_url }}{{ site.JB.atom_path }}" rel="self" type="application/atom+xml"/>
<link href="{{ site.production_url }}" rel="alternate" type="text/html"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.production_url }}</id>
<author>
<name>{{ site.author.name }}</name>
<email>{{ site.author.email }}</email>
</author>
{% for post in site.posts limit:{{ site.feed_output_limit }} %}
<entry>
<title>{{ post.title | xml_escape }}</title>
<link rel="alternate" type="text/html" href="{{ site.production_url }}{{ post.url }}" />
<id>{{ site.production_url }}{{ post.url | UrlEncode }}</id>
<updated>{{ post.date | date_to_xmlschema }}</updated>
{% if post.author %}<author>
<name>{{ post.author }}</name>
{% if post.author_url %}<uri>{{ post.author_url | urlencode }}</uri>{% endif %}
{% if post.author_email %}<email>{{ post.author_email }}</email>{% endif %}
</author>{% endif %}
<content type="html"><![CDATA[{{ post.content }}]]></content>
</entry>
{% endfor %}
</feed>