forked from ruby-sapporo/ruby-sapporo.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrss
22 lines (22 loc) · 741 Bytes
/
rss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
layout: nil
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Ruby札幌</title>
<link>{{ site.base_url }}{{ page.url }}</link>
<language>ja</language>
<ttl>40</ttl>
<description>Ruby札幌ニュースの更新情報</description>
{% for post in site.categories.news limit:10 %}
<item>
<title>{{ post.title }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<guid>{{ site.base_url }}{{ post.url }}</guid>
<link>{{ site.base_url }}{{ post.url }}</link>
</item>
{% endfor %}
</channel>
</rss>