-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.xml
More file actions
33 lines (33 loc) · 1.38 KB
/
feed.xml
File metadata and controls
33 lines (33 loc) · 1.38 KB
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
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<link>{{ site.url }}{{ site.baseurl }}/</link>
<description>{{ site.description | xml_escape }}</description>
<language>{{ site.lang | default: "ko" }}</language>
<managingEditor>{{ site.author.email }} ({{ site.author.name }})</managingEditor>
<webMaster>{{ site.author.email }} ({{ site.author.name }})</webMaster>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<atom:link href="{{ site.url }}{{ site.baseurl }}/feed.xml" rel="self" type="application/rss+xml"/>
{% for post in site.posts limit: 50 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ site.url }}{{ site.baseurl }}{{ post.url }}</link>
<description>{{ post.excerpt | strip_html | strip_newlines | xml_escape | truncate: 500 }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<guid isPermaLink="true">{{ site.url }}{{ site.baseurl }}{{ post.url }}</guid>
{% if post.category %}
<category>{{ post.category | xml_escape }}</category>
{% endif %}
{% if post.tags %}
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% endif %}
</item>
{% endfor %}
</channel>
</rss>