-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrss.xml
27 lines (27 loc) · 930 Bytes
/
rss.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
---
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>{{site.site_name}}</title>
<link>{{site.url}}</link>
<language>en</language>
<webMaster>{{site.author_email}} ({{site.author_name}})</webMaster>
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
<copyright>Copyright 2011</copyright>
<ttl>60</ttl>
<description>{{site.site_tagline}}</description>
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title }}</title>
<link>{{site.url}}/{{ post.url }}/</link>
<pubDate>{{ post.date }}</pubDate>
<guid>{{site.url}}/{{ post.id }}/</guid>
<description>{{ post.content | xml_escape }}</description>
{% for tag in post.tags %}
<category domain="{{site.url}}/tag/{{ tag }}/">{{ tag }}</category>
{% endfor %}
</item>
{% endfor %}
</channel>
</rss>