dash-docs/en/rss/releases.rss
2017-07-08 11:32:28 -04:00

36 lines
1.3 KiB
XML

---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
lang: en
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Bitcoin Core releases</title>
<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/icons/logo_rss.png</url>
<link>https://bitcoin.org/en/version-history</link>
</image>
{% assign date_sorted_releases = site.releases | sort: 'optional_date', 'last' %}
{% for p in date_sorted_releases reversed %}
<item>
<title>{{ p.title | xmlescape }}</title>
<link>https://bitcoin.org{{ p.url }}</link>
<guid>https://bitcoin.org{{ p.url }}</guid>
{% if p.optional_date %}
<pubDate>{{ p.optional_date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
{% else %}
<pubDate>{{ site.time | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
{% warn "This release doesn't have optional_date set" %}
{% endif %}
{% if p.excerpt %}
<description><![CDATA[{{ p.excerpt }}]]></description>
{% endif %}
</item>
{% endfor %}
</channel>
</rss>