-
Notifications
You must be signed in to change notification settings - Fork 1
/
rss.xml
27 lines (27 loc) · 1.29 KB
/
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
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<atom:link href="{{ site.url }}/rss.xml" rel="self" type="application/rss+xml" />
<title>{{ site.name }}</title>
<link>{{ site.url }}</link>
<description>{{ site.description }}</description>
{% for post in site.posts limit:30 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ site.url }}{{ post.url }}</link>
<media:content type="image/jpeg" url="{{ site.dps_dir }}{{ post.img }}">
<media:description type="plain">{{ post.firstname }}</media:description>
<media:copyright>TBD</media:copyright>
</media:content>
<media:content type="image/jpeg" url="{{ site.screenshots_dir }}{{ post.screenshot }}">
<media:description type="plain">{{ post.firstname }}'s Website</media:description>
<media:copyright>TBD</media:copyright>
</media:content>
<category>{{ post.position }}</category>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<description>{{ post.content | xml_escape }}</description>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
</item>
{% endfor %}
</channel>
</rss>