<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>E-Learning Unit &#187; xml</title>
	<atom:link href="http://www.learninginstitute.qmul.ac.uk/elearning/tag/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learninginstitute.qmul.ac.uk/elearning</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2012 18:46:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Writing an RSS feed for iTunes</title>
		<link>http://www.learninginstitute.qmul.ac.uk/elearning/howto/writing-an-rss-feed-for-itunes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=writing-an-rss-feed-for-itunes</link>
		<comments>http://www.learninginstitute.qmul.ac.uk/elearning/howto/writing-an-rss-feed-for-itunes/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 16:10:31 +0000</pubDate>
		<dc:creator>emcdonnell</dc:creator>
				<category><![CDATA[How-to guidance]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[podcasting]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[webtools]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.esddelu.org.uk/?p=1412</guid>
		<description><![CDATA[In this post we will cover how to go about writing your own XML to create an RSS feed for iTunes. The format used will be legible by most RSS aggregators but I will assume that you may intend, as some stage, to submit your feed to the iTunes Store which requires certain extra tags. [...]]]></description>
			<content:encoded><![CDATA[<p>In this post we will cover how to go about writing your own XML to create an RSS feed for iTunes. The format used will be legible by most RSS aggregators but I will assume that you may intend, as some stage, to submit your feed to the iTunes Store which requires certain extra tags.</p>
<p>If you&#8217;re not sure what RSS is please read this post (<a href="http://www.esddelu.org.uk/introducing/what-is-rss/">http://www.esddelu.org.uk/introducing/what-is-rss/</a>) before continuing here.</p>
<p>This is remarkably easy to do &#8211; even if the amount of XML will look intimidating at first.</p>
<h3>What will you need?</h3>
<p>So, in order to create your feed, you&#8217;ll need a few things:</p>
<ul>
<li>An mp3 file online already</li>
<li>Access to some web space to save your files</li>
<li>A basic knowledge of HTML</li>
<li>An image to use for your podcast that is a JPEG sized at 300&#215;300 pixels at 72dpi</li>
</ul>
<p>Once you have those things then keep reading.</p>
<h3>What will this post cover?</h3>
<p>What we&#8217;ll cover here is:</p>
<ol>
<li><a href="#emptyrss">A look at an empty RSS feed with no episodes in it</a></li>
<li><a href="#starting">What you need to do to start off</a></li>
<li><a href="#basicxml">An example of the XML to make a very basic podcast episode</a></li>
<li><a href="#finish">That&#8217;s it!</a></li>
<li><a href="#links">A list of recommended links to read if you&#8217;re interested in continuing to podcast</a></li>
</ol>
<h3><a name="emptyrss">A look at an empty RSS feed with no episodes in it&gt;</a></h3>
<p>Below you will see a lot of XML. It will look off-putting at first but remember that all you need to change is the text in capitals. (I have taken this example from a very helpful post here: <a href="http://homepage.mac.com/rfwilmut/notes/podcast.html" target="_blank">http://homepage.mac.com/rfwilmut/notes/podcast.html</a>)</p>
<p><em>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;rss xmlns:itunes=&#8221;http://www.itunes.com/dtds/podcast-1.0.dtd&#8221; version=&#8221;2.0&#8243;&gt;</em></p>
<p><em>&lt;channel&gt;</em> <em><br />
&lt;title&gt;THE NAME OF YOUR PODCAST&lt;/title&gt;<br />
&lt;link&gt;THE URL OF THE WEB PAGE ABOUT YOUR PODCAST&lt;/link&gt;<br />
&lt;language&gt;en-us&lt;/language&gt;<br />
&lt;copyright&gt;YEAR, AND YOUR NAME (OPTIONAL)&lt;/copyright&gt;<br />
&lt;itunes:subtitle&gt;A SUBTITLE&lt;/itunes:subtitle&gt;<br />
&lt;itunes:author&gt;YOUR NAME&lt;/itunes:author&gt;<br />
&lt;itunes:summary&gt;A PARAGRAPH DESCRIBING THE SUBJECT OF YOUR PODCAST&lt;/itunes:summary&gt;<br />
&lt;description&gt;A BRIEF SENTENCE ABOUT YOUR PODCAST&lt;/description&gt;<br />
&lt;itunes:owner&gt;<br />
&lt;itunes:name&gt;John Doe&lt;/itunes:name&gt;<br />
&lt;itunes:email&gt;AN EMAIL ADDRESS FOR VISITORS (OPTIONAL)&lt;/itunes:email&gt;<br />
&lt;/itunes:owner&gt;<br />
&lt;itunes:image href=&#8221;URL OF AN IMAGE FOR THE PODCAST&#8221; /&gt;<br />
&lt;itunes:category text=&#8221;CHOOSE A CATEGORY FROM THE APPLE LIST (SEE BELOW)&#8221;&gt;<br />
&lt;itunes:category text=&#8221;CHOOSE A SUB-CATEGORY&#8221;/&gt;<br />
&lt;/itunes:category&gt;<br />
&lt;itunes:category text=&#8221;ANOTHER CATEGORY (OPTIONAL)&#8221;/&gt;</em></p>
<p><em>&lt;item&gt;</em> <em><br />
&lt;title&gt;TITLE OF THE EPISODE&lt;/title&gt;<br />
&lt;itunes:author&gt;YOUR NAME&lt;/itunes:author&gt;<br />
&lt;itunes:subtitle&gt;A SUBTITLE FOR THE EPISODE&lt;/itunes:subtitle&gt;<br />
&lt;itunes:summary&gt;A DESCRIPTION OF THE CONTENTS OF YOUR EPISODE&lt;/itunes:summary&gt;<br />
&lt;enclosure url=&#8221;THE FULL URL OF THE MEDIA FILE FOR THE EPISODE&#8221; length=&#8221;FILE SIZE IN BYTES&#8221; type=&#8221;FOR AN MP3 FILE &#8211; audio/mpeg&#8221; /&gt;<br />
&lt;guid&gt;THE FULL URL OF THE MEDIA FILE FOR THE EPISODE&lt;/guid&gt;<br />
&lt;pubDate&gt;DATE, E.G. Wed, 15 Jun 2005 19:00:00 GMT&lt;/pubDate&gt;<br />
&lt;itunes:duration&gt;DURATION H:MM:SS&lt;/itunes:duration&gt;<br />
&lt;itunes:keywords&gt;ENTER KEYWORDS FOR SEARCHING&lt;/itunes:keywords&gt;<br />
&lt;itunes:explicit&gt;yes IF CONTAINS ADULT MATERIAL, OTHERWISE no&lt;/itunes:explicit&gt;<br />
&lt;/item&gt;</em></p>
<p><em>&lt;/channel&gt;</em> <em><br />
&lt;/rss&gt;</em></p>
<h3><a name="starting">What you need to do to start off</a></h3>
<p>Now we will move your mp3 file into a public folder and create the basic XML of your podcast.</p>
<ol>
<li>The first thing you will to do is to put your mp3 file into a public folder. Upload it into a folder on your webiste called &#8216;podcasts&#8217;.</li>
<li>The XML will look like what&#8217;s below. I have included a copy of this file below for you to use in this exercise. Right-click <a href="http://dl.dropbox.com/u/5091529/dev_programs/DELU33/emptyxmlforpodcast.xml">here</a> and save the file to your local computer. Open the file in Notepad (PC) or TextEdit (Mac) to edit it.<br />
<em><br />
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;rss xmlns:itunes=&#8221;http://www.itunes.com/dtds/podcast-1.0.dtd&#8221; version=&#8221;2.0&#8243;&gt;<br />
</em><em>&lt;channel&gt;</em> <em><br />
&lt;title&gt;THE NAME OF YOUR PODCAST&lt;/title&gt;<br />
&lt;link&gt;THE URL OF THE WEB PAGE ABOUT YOUR PODCAST&lt;/link&gt;<br />
&lt;language&gt;en-us&lt;/language&gt;<br />
&lt;copyright&gt;YEAR, AND YOUR NAME (OPTIONAL)&lt;/copyright&gt;<br />
&lt;itunes:subtitle&gt;A SUBTITLE&lt;/itunes:subtitle&gt;<br />
&lt;itunes:author&gt;YOUR NAME&lt;/itunes:author&gt;<br />
&lt;itunes:summary&gt;A PARAGRAPH DESCRIBING THE SUBJECT OF YOUR PODCAST&lt;/itunes:summary&gt;<br />
&lt;description&gt;A BRIEF SENTENCE ABOUT YOUR PODCAST&lt;/description&gt;<br />
&lt;itunes:owner&gt;<br />
&lt;itunes:name&gt;John Doe&lt;/itunes:name&gt;<br />
&lt;itunes:email&gt;AN EMAIL ADDRESS FOR VISITORS (OPTIONAL)&lt;/itunes:email&gt;<br />
&lt;/itunes:owner&gt;<br />
&lt;itunes:image href=&#8221;URL OF AN IMAGE FOR THE PODCAST&#8221; /&gt;<br />
&lt;itunes:category text=&#8221;CHOOSE A CATEGORY FROM THE APPLE LIST (SEE BELOW)&#8221;&gt;<br />
&lt;itunes:category text=&#8221;CHOOSE A SUB-CATEGORY&#8221;/&gt;<br />
&lt;/itunes:category&gt;<br />
&lt;itunes:category text=&#8221;ANOTHER CATEGORY (OPTIONAL)&#8221;/&gt;</em><br />
<em>&lt;/channel&gt;</em> <em><br />
&lt;/rss&gt;<br />
</em></li>
<li>Fill in the details of your podcast for title, link, copyright,subtitle, author, summary, name, email.</li>
<li>Now fill in the categories. Look here (<a href="http://www.feedforall.com/itune-tutorial-tags.htm#category" target="_blank">http://www.feedforall.com/itune-tutorial-tags.htm#category</a>) for a list of iTunes categories and sub-categories. Choose the ones you want your podcast to be a part of</li>
<li>For the image attribute, enter the URL of an image that you want to use as the &#8216;shop-front&#8217; for your podcast.This image must be a JPEG sized at 300&#215;300 pixels at 72dpi</li>
<li>Save your file onto your web folder with a name you will remember (no spaces or special characters). Make sure the file extension is .xml</li>
</ol>
<p>Okay, now you&#8217;ve got your basic xml online and waiting for content.</p>
<h3><a name="basicxml">An example of the XML to make a very basic podcast</a></h3>
<p>Now you will make your first episode. The XML below needs to be copy-and-pasted before the line that says <em>&lt;/channel&gt;</em> <em> </em>in your XML file.</p>
<ol>
<li>So, paste in this code (leaving out the {}):<br />
{<em><br />
</em>&lt;item&gt;<br />
&lt;title&gt;TITLE OF THE EPISODE&lt;/title&gt;<br />
&lt;itunes:author&gt;YOUR NAME&lt;/itunes:author&gt;<br />
&lt;itunes:subtitle&gt;A SUBTITLE FOR THE EPISODE&lt;/itunes:subtitle&gt;<br />
&lt;itunes:summary&gt;A DESCRIPTION OF THE CONTENTS OF YOUR EPISODE&lt;/itunes:summary&gt;<br />
&lt;enclosure url=&quot;THE FULL URL OF THE MEDIA FILE FOR THE EPISODE&quot; length=&quot;FILE SIZE IN BYTES&quot; type=&quot;audio/mpeg&quot; /&gt;<br />
&lt;guid&gt;THE FULL URL OF THE MEDIA FILE FOR THE EPISODE&lt;/guid&gt;<br />
&lt;pubDate&gt;DATE, E.G. Wed, 15 Jun 2005 19:00:00 GMT&lt;/pubDate&gt;<br />
&lt;itunes:duration&gt;DURATION H:MM:SS&lt;/itunes:duration&gt;<br />
&lt;itunes:keywords&gt;ENTER KEYWORDS FOR SEARCHING&lt;/itunes:keywords&gt;<br />
&lt;itunes:explicit&gt;yes IF CONTAINS ADULT MATERIAL, OTHERWISE  no&lt;/itunes:explicit&gt;<br />
&lt;/item&gt;</p>
<p><em>}</em></li>
<li>Fill in the details of your podcast for title, author, subtitle, summary, the URL of your mp3 file in both places it is mentioned, the pubdate (publication date), duration, keywords, a note as to whether or not you consider the contents to be of an explicit nature.</li>
<li>Save your file</li>
<li>Note down the full URL to your XML file</li>
</ol>
<h3><a name="finish">That&#8217;s it!</a></h3>
<p>That really is it.</p>
<p>Try opening your XML file in Firefox and seeing how it works.</p>
<p>Then go to iTunes and select &#8216;Advanced &gt; Subscribe to Podcast&#8217; and enter in the URL of your XML file.</p>
<p>When you have more episodes just copy-and-paste one of your earlier ones and enter in the new details.</p>
<h3><a name="links">A list of recommended links</a></h3>
<p>Below are a list of the links that I have used to make this post and some further reading.</p>
<ul>
<li>How to make a podcast: <a href="http://homepage.mac.com/rfwilmut/notes/podcast.html">http://homepage.mac.com/rfwilmut/notes/podcast.html</a></li>
<li>A list of all the attributes that iTunes uses and what they mean: <a href="http://www.feedforall.com/itune-tutorial-tags.htm">http://www.feedforall.com/itune-tutorial-tags.htm</a></li>
<li>The full page from Apple about iTunes and how to make more complex RSS feeds: <a href="http://www.apple.com/itunes/podcasts/specs.html">http://www.apple.com/itunes/podcasts/specs.html</a></li>
<li>A really useful page that breaks down all of the XML above into bite-size chunks with an explanation of each: <a href="http://www.danfergusdesign.com/classfiles/generalReference/rssFeedSample.html">http://www.danfergusdesign.com/classfiles/generalReference/rssFeedSample.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.learninginstitute.qmul.ac.uk/elearning/howto/writing-an-rss-feed-for-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

