Last active
April 16, 2021 13:44
-
-
Save philsturgeon/4553431 to your computer and use it in GitHub Desktop.
Octopress iTunes Feed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: post | |
title: "Episode 3: ExpressionEngine StackExchange" | |
date: 2012-12-20 10:47 | |
comments: true | |
filename: some-file-name-without-extension | |
length: 52409154 | |
summary: ExpressionEngine Pro Anna Brown and Testing Hero Chris Hartjes join Ben Edmunds and Phil Sturgeon to discuss the recent rumblings in the ExpressionEngine community and the new EE StackExchange site. We talk about Inversion of Control (IoC), what it is, why its useful and how it's done. | |
--- | |
Bla bla, content, show notes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: nil | |
--- | |
<?xml version="1.0" encoding="utf-8"?> | |
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> | |
<channel> | |
<title><![CDATA[{{ site.title }}]]></title> | |
<link>{{ site.url }}</link> | |
<language>en-us</language> | |
<copyright><![CDATA[{{ site.author | strip_html }}]]></copyright> | |
<itunes:author><![CDATA[{{ site.author | strip_html }}]]></itunes:author> | |
<itunes:subtitle><![CDATA[{{ site.subtitle }}]]></itunes:subtitle> | |
<description><![CDATA[{{ site.description }}]]></description> | |
<itunes:explicit>no</itunes:explicit> | |
<itunes:owner> | |
<itunes:name>Phil Sturgeon</itunes:name> | |
<itunes:email>[email protected]</itunes:email> | |
</itunes:owner> | |
<itunes:image href="http://s3.amazonaws.com/phptownhall/logo.png" /> | |
<itunes:category text="Technology"> | |
<itunes:category text="Tech News"/> | |
</itunes:category> | |
{% for post in site.posts limit: 20 %} | |
<item> | |
<title><![CDATA[{{ post.title | cdata_escape }}]]></title> | |
<description><![CDATA[{{ post.content | expand_urls: site.url | cdata_escape }}]]></description> | |
<link>{{ site.url }}{{ post.url }}</link> | |
<guid>{{ site.url }}{{ post.url }}</guid> | |
<pubDate>{{ post.date | date_to_rss }}</pubDate> | |
<itunes:author><![CDATA[{{ site.author | strip_html }}]]></itunes:author> | |
<itunes:summary><![CDATA[{{ post.summary }}]]></itunes:summary> | |
<enclosure url="http://s3.amazonaws.com/phptownhall/{{ post.filename }}.mp3" type="audio/mp3" length="{{ post.length }}" /> | |
</item> | |
{% endfor %} | |
</channel> | |
</rss> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def date_to_rss(input) | |
input.rfc2822 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
THANK U FOR THIS article.
i have some trouble when i post my podcast,when i test to feed my blog:feed://ezpodcast.github.io/atom.xml,itunes can recognized the podcast name ,but there is no audio appear in the list .
I post it as follows