Skip to content

Instantly share code, notes, and snippets.

@jonhoo jonhoo/podcast.xml
Created Jul 10, 2019

Embed
What would you like to do?
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
>
<channel>
<atom:link href="{{ site.url }}{{ page.url }}" rel="self" type="application/rss+xml" />
<link>{{ site.url }}</link>
<title><![CDATA[ {{ site.title }} ]]></title>
<itunes:subtitle><![CDATA[ {{ site.subtitle | strip_html }} ]]></itunes:subtitle>
<itunes:summary><![CDATA[ {{ site.description | strip_html }} ]]></itunes:summary>
<description><![CDATA[ {{ site.description | strip_html }} ]]></description>
<itunes:category text="Technology" />
<itunes:keywords>{{ site.keywords }}</itunes:keywords>
<itunes:explicit>no</itunes:explicit>
<image>
<link>{{ site.url }}</link>
<url>{{ site.url }}/images/artwork.png</url>
<title>{{ site.title }}</title>
</image>
<itunes:image href="{{ site.url }}/images/artwork.png" />
<language>{{ site.lang }}</language>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<managingEditor><![CDATA[ {{ site.email }} ({{ site.author }}) ]]></managingEditor>
<webMaster>jon@thesquareplanet.com (Jon Gjengset)</webMaster>
<itunes:author><![CDATA[ {{ site.author }} ]]></itunes:author>
<!-- <googleplay:email>jon@tsp.io</googleplay:email> -->
<itunes:owner>
<itunes:name>Jon Gjengset</itunes:name>
<itunes:email>jon@thesquareplanet.com</itunes:email>
</itunes:owner>
{% for post in site.episodes %}
<item>
<!-- <link>{{ site.url }}{{ post.url }}</link> -->
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<guid isPermaLink="false">rustacean-station/{{ post.url }}</guid>
<title><![CDATA[ {{ post.title }} ]]></title>
<!-- <googleplay:description><![CDATA[ {{ post.content | strip_html }}]]></googleplay:description> -->
<itunes:summary><![CDATA[ {{ post.excerpt | strip_html }} ]]></itunes:summary>
<description><![CDATA[ {{ post.content | strip_html }} ]]></description>
<content:encoded><![CDATA[ {{ post.content }} ]]></content:encoded>
<enclosure url="{{ post.file }}" length="{{ post.length }}" type="audio/mpeg"/>
<itunes:duration>{{ post.duration }}</itunes:duration>
</item>
{% endfor %}
</channel>
</rss>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.