forked from nooku/www.nooku.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.rss
43 lines (41 loc) · 1.57 KB
/
blog.rss
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
41
42
43
---
layout: empty
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>{{ site.name | xml_escape }}</title>
<link>{{ site.url }}/blog</link>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
<image>
<url>{{ site.url }}/images/layout/logo.png</url>
<title>Nooku</title>
<link>{{ site.url }}/blog</link>
</image>
<atom:link href="{{ site.url }}/blog.rss" rel="self" type="application/rss+xml" />
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<dc:creator>{{ post.author }}</dc:creator>
<description>
<![CDATA[
{% if post.image %}
<img src="{{ site.url }}{{ post.image }}" />
{% endif %}
{{ post.content }}
]]>
</description>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
{% if post.image %}
<media:thumbnail url="{{ site.url }}{{ post.image }}" />
{% endif %}
</item>
{% endfor %}
</channel>
</rss>