-
Notifications
You must be signed in to change notification settings - Fork 23
/
rss.xml
34 lines (32 loc) · 1.18 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
28
29
30
31
32
33
34
---
layout: null
---
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>AntennaPod Blog</title>
<description>AntennaPod Blog posts</description>
<link>{{ site.url }}/blog</link>
<image>
<url>{{ site.url }}/assets/images/favicons/android-chrome-512x512.png</url>
<title>AntennaPod Blog</title>
</image>
<language>en-us</language>
{% for blog in site.blog reversed %}
{% if blog.unlisted != true %}
<item>
<title>{{ blog.title }}</title>
<link>{{ blog.url | replace:'.html','' | prepend: site.url }}</link>
<guid isPermaLink="false">{{ blog.guid }}</guid>
{% assign url_and_equals = '="' | append: site.url | append: '/' %}
<description><![CDATA[
{% assign author = site.data.authors[blog.author] %}
<p>Published by <a href="{{ author.web }}">{{ author.name }}</a></p>
{{ blog.content | replace:'="/',url_and_equals }}
]]></description>
<pubDate>{{ blog.date | date_to_rfc822 }}</pubDate>
</item>
{% endif %}
{% endfor %}
</channel>
</rss>