-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrss.xml
28 lines (28 loc) · 923 Bytes
/
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
28
---
---
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:atom="http://www.w3.org/2005/Atom"
>
<channel>
<title>{{ site.author }}</title>
<description>{{ site.description }}</description>
<atom:link href="/rss.xml" rel="self" type="application/rss+xml" />
<link>http://taoxiaolei.cn</link>
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
<webMaster>lingyunyumo@gmail.com</webMaster>
{% for post in site.posts limit:25 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ post.url }}</link>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<author>{{ site.author }}</author>
<guid>{{ post.id }}</guid>
<content:encoded>
<![CDATA[{{ post.content }}]]>
</content:encoded>
</item>
{% endfor %}
</channel>
</rss>