-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfeed.xml
29 lines (25 loc) · 1.04 KB
/
feed.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
28
29
---
layout: null
---
<?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>{{ site.title | escape }}</title>
<link>{{ site.url | prepend: site.baseurl }}</link>
<description>{{ site.description | escape }}</description>
<language>{{ site.lang | default: "en-US" }}</language>
<atom:link href="{{ site.url | prepend: site.baseurl }}/feed.xml" rel="self" type="application/rss+xml"/>
{% for post in site.PRESS %}
<item>
<title>{{ post.title | escape }}</title>
<link>{{ site.url | prepend: site.baseurl }}{{ post.url }}</link>
<description>{{ post.description | strip_html | escape }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<guid isPermaLink="true">{{ site.url | prepend: site.baseurl }}{{ post.url }}</guid>
<content:encoded><![CDATA[
{{ post.content | xml_escape }}
]]></content:encoded>
</item>
{% endfor %}
</channel>
</rss>