forked from bitcoin-core/bitcoincore.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeetingrss.xml
More file actions
19 lines (19 loc) · 954 Bytes
/
meetingrss.xml
File metadata and controls
19 lines (19 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title }}</title>
<description>{{ site.translations[page.lang].description }}</description>
<link>{{ site.url }}</link>
<atom:link href="{{ site.url }}/{{ page.lang }}/rss.xml" rel="self" type="application/rss+xml" />
{% assign posts=site.posts | where:"lang", page.lang | where:"type", 'meetings' %}
{% for post in posts %}
<item>
<title>{{ post.title | strip_html }}</title>
<description>{{ post.content | xml_escape | replace: "[[", " (" | replace: "]]", ")"}}</description>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
</item>
{% endfor %}
</channel>
</rss>