...
 
Commits (2)
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
layout: null layout: null
--- ---
{% assign documents = site.documents | where: 'feed', true | sort: 'date' | reverse %}<?xml version="1.0" encoding="utf-8"?> {% assign documents = site.documents | where: 'feed', true | sort: 'date' | reverse %}<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>{{ site.title }}</title> <title>{{ site.title }}</title>
<description>{{ site.description | strip | xml_escape }}</description> <description>{{ site.description | strip | xml_escape }}</description>
...@@ -13,13 +13,15 @@ layout: null ...@@ -13,13 +13,15 @@ layout: null
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate> <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<docs>http://www.feedvalidator.org/docs/rss2.html</docs> <docs>http://www.feedvalidator.org/docs/rss2.html</docs>
<ttl>1440</ttl> <ttl>1440</ttl>
<generator>Jekyll v{{ jekyll.version }}</generator>{% for post in documents limit:10 %} <generator>Jekyll v{{ jekyll.version }}</generator>
<atom:link href="{{ "/rss.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml" />{% for post in documents limit:10 %}
<item> <item>
<title>{{ post.title }}</title> <title>{{ post.title }}</title>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate> <guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>{% if post.description %} <link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>{% if post.description %}
<description>{{ post.description | strip | xml_escape }}</description>{% endif %} <description>{{ post.description | strip | xml_escape }}</description>{% endif %}
<author>{{ site.author }} ({{ site.email }})</author>{% for tag in post.tags %} <author>{{ site.email }} ({{ site.author }})</author>{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>{% endfor %}{% for cat in post.categories %} <category>{{ tag | xml_escape }}</category>{% endfor %}{% for cat in post.categories %}
<category>{{ cat | xml_escape }}</category>{% endfor %} <category>{{ cat | xml_escape }}</category>{% endfor %}
</item>{% endfor %} </item>{% endfor %}
......