Fix RSS feed to pass W3C validation (fixes #446)

This commit is contained in:
Saivann 2014-06-09 14:58:15 -04:00
parent 5fc4b8a21f
commit f7f25abcaa
3 changed files with 12 additions and 6 deletions

View file

@ -7,14 +7,16 @@
<link>https://bitcoin.org/en/version-history</link>
<description>This RSS feed allows to follow Bitcoin Core new releases.</description>
<image>
<title>Bitcoin Core releases</title>
<url>https://bitcoin.org/img/logo_rss.png</url>
<link>https://bitcoin.org/en/version-history</link>
</image>
{% filter_for p in site.pages reversed sort_by:date category:release %}
<item>
<title>{{ p.title }}</title>
<title>{{ p.title | htmlescape }}</title>
<link>https://bitcoin.org{{ p.url | replace:'.html','' }}</link>
<pubDate>{{ p.date | date: "%a, %d %b %Y" }}</pubDate>
<guid>https://bitcoin.org{{ p.url | replace:'.html','' }}</guid>
<pubDate>{{ p.date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
</item>
{% endfilter_for %}
</channel>