summaryrefslogtreecommitdiff
path: root/index.rss
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--index.rss53
1 files changed, 31 insertions, 22 deletions
diff --git a/index.rss b/index.rss
index 8b81a2d..eae96e3 100644
--- a/index.rss
+++ b/index.rss
@@ -1,27 +1,36 @@
---
-layout: nil
+layout: none
---
<?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>
+<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
+<title type="text">{{ site.title }}</title>
+<generator uri="https://github.com/mojombo/jekyll">Jekyll</generator>
+<link rel="self" type="application/atom+xml" href="{{ site.url }}/feed.xml" />
+<link rel="alternate" type="text/html" href="{{ site.url }}" />
+<updated>{{ site.time | date_to_xmlschema }}</updated>
+<id>{{ site.url }}/</id>
+<author>
+ <name>{{ site.owner.name }}</name>
+ <uri>{{ site.url }}/</uri>
+ <email>{{ site.owner.email }}</email>
+</author>
+{% for post in site.posts limit:20 %}
- {% for post in site.posts limit:10 %}
- <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 %}
-
+<entry>
+ <title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
+ <link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}" />
+ <id>{{ site.url }}{{ post.id }}</id>
+ {% if post.modified %}<updated>{{ post.modified | to_xmlschema }}T00:00:00-00:00</updated>
+ <published>{{ post.date | date_to_xmlschema }}</published>
+ {% else %}<published>{{ post.date | date_to_xmlschema }}</published>
+ <updated>{{ post.date | date_to_xmlschema }}</updated>{% endif %}
+ <author>
+ <name>{{ site.owner.name }}</name>
+ <uri>{{ site.url }}</uri>
+ <email>{{ site.owner.email }}</email>
+ </author>
+ <content type="html">{{ post.content | xml_escape }}
+ &lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title }}&lt;/a&gt; was originally published by {{ site.owner.name }} at &lt;a href=&quot;{{ site.url }}&quot;&gt;{{ site.title }}&lt;/a&gt; on {{ post.date | date: "%B %d, %Y" }}.&lt;/p&gt;</content>
+</entry>
+{% endfor %}
</feed> \ No newline at end of file