diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-09-11 12:46:30 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-09-11 12:46:30 +0200 |
| commit | 77359544f357b432d2cbf1ebe2952830ea38a33f (patch) | |
| tree | 6e2528f2fbce21b50b8636e7766a82397f07a8ca | |
| parent | redirect rss to atom (diff) | |
| download | lumberjaph-77359544f357b432d2cbf1ebe2952830ea38a33f.tar.gz | |
index.rss (it's atom, I know ..)
| -rw-r--r-- | .htaccess | 3 | ||||
| -rw-r--r-- | index.rss | 27 |
2 files changed, 28 insertions, 2 deletions
@@ -1,2 +1 @@ -RewriteEngine On -RewriteRule ^index.rss /index.atom [L,R=301]
\ No newline at end of file +RewriteEngine On
\ No newline at end of file diff --git a/index.rss b/index.rss new file mode 100644 index 0000000..53a3a59 --- /dev/null +++ b/index.rss @@ -0,0 +1,27 @@ +--- +layout: nil +--- +<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + + <title>I'm a lumberjaph</title> + <link href="http://lumberjaph.net/atom.xml" rel="self"/> + <link href="http://lumberjaph.net/"/> + <updated>{{ site.time | date_to_xmlschema }}</updated> + <id>http://lumberjaph.net/</id> + <author> + <name>franck cuny</name> + <email>franck@lumberjaph.net</email> + </author> + + {% for post in site.posts %} + <entry> + <title>{{ post.title }}</title> + <link href="http://lumberjaph.net{{ post.url }}"/> + <updated>{{ post.date | date_to_xmlschema }}</updated> + <id>http://lumberjaph.net{{ post.id }}</id> + <content type="html">{{ post.content | xml_escape }}</content> + </entry> + {% endfor %} + +</feed>
\ No newline at end of file |
