Jump to Content

Creating an RSS feed accessible by ITunes

The XML file created for your normal news feed needs to have the following code included to make it accessible by ITunes.

The code highlighted in yellow is the code specific to the ITunes reader.

<?xml version="1.0" encoding="utf-8" ?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<title>UniSA News Releases (replace this with the title of your website)</title>
<link>http://www.unisa.edu.au/news (replace this with the link to your website default home page)</link>
<description>News releases from the UniSA (provide a description of your website)</description>
<language>en-au</language>
<pubDate>22/07/2008 09:32</pubDate>
<copyright>Copyright University of South Australia.</copyright>
<webMaster>WebEnquiry@unisa.edu.au</webMaster>
<image>
<title>Univesity of South Australia</title>
<link>http://www.unisa.edu.au/</link>
<url>http://www.unisa.edu.au/commonfiles/images/unisa.gif</url>
</image>
<itunes:author><![CDATA[UniSA]]></itunes:author>
<itunes:summary><![CDATA[Gift of Knowledge lecture series]]></itunes:summary>
<itunes:image href="http://www.unisa.edu.au/commonfiles/images/unisa.gif" />
<itunes:explicit>no</itunes:explicit>
<itunes:category text="UniSA Gift of Knowledge" />

<item>
<title>Title of the news release</title>
<link>URL of the news release</link>
<description>First paragraph or description of news release.</description>
<pubDate>01 Jan 2008</pubDate>
<guid>http://www.unisa.edu.au/webpage</guid>
<enclosure url="http://www.unisa.edu.au/webpage" length="" type="application/xhtml+xml" />

</item>
<item>
<title>Title of the podcast item</title>
<link>link of mp3 file for podcast item</link>
<pubDate>01 Jan 2008</pubDate>
<guid>http://www.unisa.edu.au/mp3file</guid>
<enclosure url="http://www.unisa.edu.au/webpage" length="" type="audio/mpeg" />

</item>
</channel>
</rss>

The type modifier needs to be specific to the type of file this item includes. The different types are:

webpage type="application/xhtml+xml"
mp3 audio file type="audio/mpeg"
video file type="video/x-ms-wmv"
pdf document type="application/x-pdf"

 

top^