-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrss.xml
More file actions
27 lines (25 loc) · 806 Bytes
/
Copy pathrss.xml
File metadata and controls
27 lines (25 loc) · 806 Bytes
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
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns="http://www.w3.org/2005/Atom">
<channel>
<title>James Johnson's Blog</title>
<link>http://jamesjohnson.me</link>
<description>James Johnson's Blog</description>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<copyright>Copyright 2010, James Johnson</copyright>
<language>en-us</language>
<docs>http://validator.w3.org/feed/docs/rss2.html</docs>
{% for post in site.posts %}
<item>
<title>{{ post.title }}</title>
<author>James Johnson</author>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<link>http://jamesjohnson.me{{ post.url }}</link>
<guid>http://jamesjohnson.me{{ post.id }}</guid>
<description>{{ post.content | xml_escape }}</description>
</item>
{% endfor %}
</channel>
</rss>