-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblogRss.xml
27 lines (27 loc) · 1.17 KB
/
blogRss.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
27
---
layout: null
permalink: /blog.rss
sitemap:
exclude: 'yes'
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<lastBuildDate>{% for post in site.posts limit:1 %}{{ post.date | date_to_rfc822 }}{% endfor %}</lastBuildDate>
<link>{{ site.url }}</link>
<title>Filip Procházka</title>
<language>cs</language>
<description>Classier Twitter threads</description>
<atom:link href="{{ site.url }}/{{ page.path }}" rel="self" type="application/rss+xml" />{% for post in site.posts %}
<item>
<title>{{ post.title | xml_escape }}</title>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ site.url }}{{ post.url }}?utm_source=rss&utm_medium=feed&utm_campaign={{ post.title | url_encode }}</link>
<description><![CDATA[
{{ post.content | cdata_escape }}
]]></description>
<dc:creator>Filip Procházka</dc:creator>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
</item>{% endfor %}
</channel>
</rss>