-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.xml
40 lines (34 loc) · 1.33 KB
/
index.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
30
31
32
33
34
35
36
37
38
39
40
---
layout: nil
---
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss2.0-to-html.xslt" media="screen" version="1.0"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:webfeeds="http://webfeeds.org/rss/1.0">
<channel>
<title>{{ site.title }}</title>
<link>{{ site.url }}</link>
<description>{{ site.description }}</description>
<language>en-us</language>
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
<managingEditor>{{ site.author_name }}</managingEditor>
<webfeeds:analytics id="{{ site.ga }}" engine="GoogleAnalytics"/>
<!--
<webfeeds:cover image="http://yoursite.com/a-large-cover-image.png" />
<webfeeds:icon>http://feedly.com/icon.svg</webfeeds:icon>
-->
{% for post in site.posts limit:5 -%}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ site.baseurl }}{{ post.url }}</link>
<description><![CDATA[{{ post.content}}]]></description>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
</item>
{% endfor -%}
</channel>
</rss>