forked from protesilaos/my-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commentary.xml
26 lines (26 loc) · 1.17 KB
/
commentary.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
layout: none
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Protesilaos Stavrou: Commentary on life</title>
<description>General comments or discussions on how to approach complex life issues</description>
<link>{{ "commentary" | absolute_url }}</link>
<atom:link href="{{ page.url | absolute_url }}" rel="self" type="application/rss+xml"/>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
{% assign commentary = site.commentary | sort: 'date' | reverse %}
{% for i in commentary limit:100 %}
<item>
<title>{{ i.title | smartify | strip_html | normalize_whitespace | escape_xml }}</title>
<description>{{ i.excerpt | escape_xml }}</description>
<pubDate>{{ i.date | date_to_rfc822 }}</pubDate>
<link>{{ i.url | prepend: site.baseurl | prepend: site.url }}</link>
<guid isPermaLink="true">{{ i.url | prepend: site.baseurl | prepend: site.url }}</guid>
<content:encoded><![CDATA[{{ i.content | strip | escape_xml }}]]></content:encoded>
</item>
{% endfor %}
</channel>
</rss>