Skip to content

Commit 7eea76e

Browse files
committed
Had accidentally used a RSS template instead of atom. Now made it atom
1 parent 183d0f3 commit 7eea76e

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

atom.xml

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,30 @@
22
layout: nil
33
---
44
<?xml version="1.0"?>
5-
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
6-
<channel>
7-
<title>PythonPune</title>
8-
<link>http://pythonpune.github.com/</link>
9-
<atom:link href="http://pythonpune.github.com/atom.xml" rel="self" type="application/rss+xml" />
10-
<description>PythonPune</description>
11-
<language>en-us</language>
12-
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
13-
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
5+
<feed xmlns="http://www.w3.org/2005/Atom">
146

15-
{% for post in site.posts %}
16-
<item>
17-
<title>{{ post.title }}</title>
18-
<link>http://functionn.github.com{{ post.url }}</link>
19-
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
20-
<author>functionn.github@functionn.github.com (Functionn)</author>
21-
<guid>http://functionn.github.com{{ post.id }}</guid>
22-
<description>{{ post.content | xml_escape }}</description>
23-
</item>
24-
{% endfor %}
7+
<title>PythonPune</title>
8+
<link href="http://pythonpune.github.com/"/>
9+
<link type="application/atom+xml" rel="self" href="http://pythonpune.github.com/atom.xml"/>
10+
<updated>{{ site.time | date_to_xmlschema }}</updated>
11+
<id>http://pythonpune.github.com/</id>
12+
<author>
13+
<name>PythonPune</name>
14+
</author>
2515

26-
</channel>
27-
</rss>
16+
{% for post in site.posts %}
17+
<entry>
18+
<id>http://pythonpune.github.com{{ post.id }}</id>
19+
<link type="text/html" rel="alternate" href="http://pythonpune.github.com{{ post.url }}"/>
20+
<title>{{ post.title }}</title>
21+
<published>{{ post.date | date_to_xmlschema }}</published>
22+
<updated>{{ post.date | date_to_xmlschema }}</updated>
23+
<author>
24+
<name>PythonPune</name>
25+
</author>
26+
<content type="html">{{ post.content | xml_escape }}</content>
27+
</entry>
28+
{% endfor %}
29+
30+
</feed>
31+

0 commit comments

Comments
 (0)