Skip to content

Commit 8f8e0a0

Browse files
committed
Merge pull request #2 from bclozel/master
Add an atom feed!
2 parents 1f01418 + c8ff64b commit 8f8e0a0

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

atom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
layout: nil
3+
---
4+
<?xml version="1.0" encoding="utf-8"?>
5+
<feed xmlns="http://www.w3.org/2005/Atom">
6+
7+
<title>PullRequest</title>
8+
<link href="http://pullrequest.org/atom.xml" rel="self"/>
9+
<link href="http://pullrequest.org/"/>
10+
<updated>{{ site.time | date_to_xmlschema }}</updated>
11+
<id>http://pullrequest.org/</id>
12+
<author>
13+
<name>Equipe PullRequest</name>
14+
<email>[email protected]</email>
15+
</author>
16+
17+
{% for post in site.posts %}
18+
<entry>
19+
<title>{{ post.title }}</title>
20+
<link href="http://pullrequest.org{{ post.url }}"/>
21+
<updated>{{ post.date | date_to_xmlschema }}</updated>
22+
<id>http://pullrequest.org{{ post.id }}</id>
23+
<content type="html">{{ post.content | strip_html | truncatewords:50 }}</content>
24+
</entry>
25+
{% endfor %}
26+
27+
</feed>

0 commit comments

Comments
 (0)