forked from wslack/wslack.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.xml
34 lines (34 loc) · 1.56 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
30
31
32
33
34
---
permalink: /feed/index.xml
json: false
---
<?xml version="1.0" encoding="utf-8"?>
{% if site.github.url %}{% assign url_base = site.github.url %}{% else %}{% assign url_base = site.url %}{% endif %}
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>
<channel>
<title xml:lang="en">{{ site.name }}</title>
<atom:link type="application/atom+xml" href="{{ url_base }}/feed/" rel="self"/>
<link>{{ url_base }}</link>
<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>
<language>en-US</language>
<description>{{ site.description }}</description>
{% for post in site.posts limit:site.rss_limit %}<item>
<title>{{ post.title }}</title>
<link>{{ url_base }}{{ post.url }}</link>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<dc:creator>{{ post.author }}</dc:creator>
{% for tag in post.tags %}<category>{{ tag | xml_escape }}</category>
{% endfor %}{% for cat in post.categories %}<category>{{ cat | xml_escape }}</category>
{% endfor %}<guid isPermaLink="false">{{ post.id | xml_escape }}</guid>
<description><![CDATA[ {{ post.content }} ]]></description>
</item>{% endfor %}
</channel>
</rss>