mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Fix RSS feed to pass W3C validation (fixes #446)
This commit is contained in:
parent
5fc4b8a21f
commit
f7f25abcaa
3 changed files with 12 additions and 6 deletions
|
@ -7,14 +7,16 @@
|
||||||
<link>https://bitcoin.org/en/alerts</link>
|
<link>https://bitcoin.org/en/alerts</link>
|
||||||
<description>This RSS feed allows to follow events and alerts surrounding the Bitcoin network and software.</description>
|
<description>This RSS feed allows to follow events and alerts surrounding the Bitcoin network and software.</description>
|
||||||
<image>
|
<image>
|
||||||
|
<title>Bitcoin network status and alerts</title>
|
||||||
<url>https://bitcoin.org/img/logo_rss.png</url>
|
<url>https://bitcoin.org/img/logo_rss.png</url>
|
||||||
<link>https://bitcoin.org/en/alerts</link>
|
<link>https://bitcoin.org/en/alerts</link>
|
||||||
</image>
|
</image>
|
||||||
{% filter_for p in site.pages reversed sort_by:date category:alert %}
|
{% filter_for p in site.pages reversed sort_by:date category:alert %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ p.title }}</title>
|
<title>{{ p.title | htmlescape }}</title>
|
||||||
<link>https://bitcoin.org{{ p.url | replace:'.html','' }}</link>
|
<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>
|
</item>
|
||||||
{% endfilter_for %}
|
{% endfilter_for %}
|
||||||
</channel>
|
</channel>
|
||||||
|
|
|
@ -7,14 +7,16 @@
|
||||||
<link>https://bitcoin.org/en/events</link>
|
<link>https://bitcoin.org/en/events</link>
|
||||||
<description>This RSS feed allows to follow Bitcoin events and conferences.</description>
|
<description>This RSS feed allows to follow Bitcoin events and conferences.</description>
|
||||||
<image>
|
<image>
|
||||||
|
<title>Bitcoin conferences and events</title>
|
||||||
<url>https://bitcoin.org/img/logo_rss.png</url>
|
<url>https://bitcoin.org/img/logo_rss.png</url>
|
||||||
<link>https://bitcoin.org/en/events</link>
|
<link>https://bitcoin.org/en/events</link>
|
||||||
</image>
|
</image>
|
||||||
{% filter_for p in site.conferences sort_by:date %}
|
{% filter_for p in site.conferences sort_by:date %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ p.title }}, {{ p.city }} - {{ p.country }}</title>
|
<title>{{ p.title | htmlescape }}, {{ p.city | htmlescape }} - {{ p.country | htmlescape }}</title>
|
||||||
<link>{{ p.link }}</link>
|
<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>
|
</item>
|
||||||
{% endfilter_for %}
|
{% endfilter_for %}
|
||||||
</channel>
|
</channel>
|
||||||
|
|
|
@ -7,14 +7,16 @@
|
||||||
<link>https://bitcoin.org/en/version-history</link>
|
<link>https://bitcoin.org/en/version-history</link>
|
||||||
<description>This RSS feed allows to follow Bitcoin Core new releases.</description>
|
<description>This RSS feed allows to follow Bitcoin Core new releases.</description>
|
||||||
<image>
|
<image>
|
||||||
|
<title>Bitcoin Core releases</title>
|
||||||
<url>https://bitcoin.org/img/logo_rss.png</url>
|
<url>https://bitcoin.org/img/logo_rss.png</url>
|
||||||
<link>https://bitcoin.org/en/version-history</link>
|
<link>https://bitcoin.org/en/version-history</link>
|
||||||
</image>
|
</image>
|
||||||
{% filter_for p in site.pages reversed sort_by:date category:release %}
|
{% filter_for p in site.pages reversed sort_by:date category:release %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ p.title }}</title>
|
<title>{{ p.title | htmlescape }}</title>
|
||||||
<link>https://bitcoin.org{{ p.url | replace:'.html','' }}</link>
|
<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>
|
</item>
|
||||||
{% endfilter_for %}
|
{% endfilter_for %}
|
||||||
</channel>
|
</channel>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue