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/events</link>
<description>This RSS feed allows to follow Bitcoin events and conferences.</description>
<image>
<title>Bitcoin conferences and events</title>
<url>https://bitcoin.org/img/logo_rss.png</url>
<link>https://bitcoin.org/en/events</link>
</image>
{% filter_for p in site.conferences sort_by:date %}
<item>
<title>{{ p.title }}, {{ p.city }} - {{ p.country }}</title>
<title>{{ p.title | htmlescape }}, {{ p.city | htmlescape }} - {{ p.country | htmlescape }}</title>
<link>{{ p.link }}</link>
<pubDate>{{ p.date | date: "%a, %d %b %Y" }}</pubDate>
<guid>{{ p.link }}</guid>
<pubDate>{{ p.date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
</item>
{% endfilter_for %}
</channel>