The sample basic feed below shows where this tag appears in each
episode (you may need to scroll down to see it). It
contains three attributes.
The URL must include the
http:// and the
server name (even if the files are in the same directory as the feed).
The URL must be a direct link to the file, not using a script to force
a download, and scripts redirecting to the actual file may not work -
this includes URL shorteners such as tinyurl. Also, your episodes
cannot be password-protected (and you cannot charge for your podcast).
The length is the size of the
file in bytes.
The 'type' depends on the
type of the file, which must be one of the acceptable ones:
For .mp3 the 'type' is audio/mpeg.
For .m4a the 'type' is audio/x-m4a.
For .mp4 the 'type' is video/mp4.
For .mov the 'type' is video/quicktime.
and you can also include .pdf files (which will be opened in Preview)
for which the 'type' is application/pdf/
.wma, .wmv, .ra (RealAudio) or .rm (RealMedia), .aiff, .wav and .swf
(Flash) files are not supported and should not be used - episodes
containing them will not be displayed.
<?xml
version="1.0" encoding="UTF-8"?> <rss
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
version="2.0"> <channel> <title>THE NAME OF YOUR
PODCAST</title> <link>THE URL OF THE WEB
PAGE ABOUT YOUR PODCAST</link> <language>en-us</language> <copyright>℗
& © YEAR, AND YOUR NAME (OPTIONAL)</copyright> <itunes:subtitle>A
SUBTITLE</itunes:subtitle> <itunes:author>YOUR
NAME</itunes:author> <itunes:summary>A
PARAGRAPH DESCRIBING THE SUBJECT OF YOUR PODCAST</itunes:summary> <description>A BRIEF
SENTENCE ABOUT YOUR PODCAST</description> <itunes:owner> <itunes:name>YOUR
NAME</itunes:name> <itunes:email>AN EMAIL
ADDRESS FOR VISITORS (OPTIONAL)</itunes:email> </itunes:owner> <itunes:image href="URL OF
AN IMAGE FOR THE PODCAST" /> <itunes:category
text="CHOOSE A CATEGORY FROM THE APPLE LIST (SEE BELOW)"> <itunes:category
text="CHOOSE A CATEGORY SUBTITLE"/> </itunes:category> <itunes:category
text="ANOTHER CATEGORY (OPTIONAL)"/> <item> <title>TITLE OF THE
EPISODE</title> <itunes:author>YOUR
NAME</itunes:author> <itunes:subtitle>A
SUBTITLE FOR THE EPISODE</itunes:subtitle> <itunes:summary>A DESCRIPTION
OF THE CONTENTS OF YOUR EPISODE</itunes:summary>
<enclosure url="THE FULL
URL OF THE MEDIA FILE FOR THE EPISODE" length="FILE SIZE IN BYTES" type="FOR
AN MP3 FILE - audio/mpeg" /> <guid>THE FULL URL OF
THE MEDIA FILE FOR THE EPISODE</guid> <pubDate>DATE, E.G. Wed,
15 Jun 2005 19:00:00 GMT</pubDate> <itunes:duration>DURATION
H:MM:SS</itunes:duration> <itunes:keywords>ENTER
KEYWORDS FOR SEARCHING</itunes:keywords> <itunes:explicit>yes IF
CONTAINS ADULT MATERIAL, OTHERWISE no</itunes:explicit> </item> </channel> </rss>