Skip to content

Instantly share code, notes, and snippets.

@christophermoura
Forked from philsturgeon/All Posts
Last active September 17, 2015 00:36
Show Gist options
  • Save christophermoura/e6d7d5cd5cbb40ac8659 to your computer and use it in GitHub Desktop.
Save christophermoura/e6d7d5cd5cbb40ac8659 to your computer and use it in GitHub Desktop.
Octopress iTunes Feed
---
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.
---
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>
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