-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrss.xml
executable file
·27 lines (25 loc) · 1.04 KB
/
rss.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: nil
---
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title }}</title>
<link>{{ site.url.feed }}</link>
<atom:link href="{{ site.url.feed }}/rss.xml" rel="self" type="application/rss+xml" />
<description>{{ site.description }}</description>
<language>en-uk</language>
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
{% for post in site.posts %}
<item>
<title>{{ post.title }}</title>
<link>{{ site.url.feed }}{{ post.url }}/</link>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<author>{{ site.author.email }} ({{ site.author.name }})</author>
<guid>{{ site.url.feed }}/{{ post.slug }}/</guid>
<description>{{ post.content | xml_escape }}</description>
</item>
{% endfor %}
</channel>
</rss>