This is a "full level" RSS template. Here we add the enclosure command for PodCasting. My previous article had the basic bare-bones template and the full template with the CDATA construct. Now we will have a template for Podcasting or Videocasting.
You can easily copy and paste this into a template. If you are not a techie and dealing with XML for the first time, use a decent text only editor, unless you can use FrontPage or DreamWeaver or a dedicated XML editor. Be careful of any extra charcters that you may sneak in with your typing, and remember not to touch the opening or closing brackets. If you do not know what you are doing do NOT touch the first three lines. The line beginning with the "channel" element is where you should begin to substitute the information on your feed.
Below we have two items in this channel. You can of course add as many items as your heart desires. Just keep on adding the entire section of beginning and ending with <item></item> and filling in the information.
Just to remind you. The enclosure command consists of three parts:
url - The URL of the actual enclosure.
length - The size in bytes and not an estimate but a total size
type - A standard MIME type, e.g. Audio, Video, Text etc. A list and explanation of standard MIME types can be found here - http://www.fileformat.info/info/mimetype/standard.htm
By the way. We are keeping RandyPandy's Perfumery, but since his wife Sandy loves Janis Joplin the enclosure command will contain Summertime from Janis. Hope you don't mind!
First a template with information and then a template without. (The editing software forces an empty line between each command however in your Feed you should not have any empty lines. Just delete the lines with no information if you copy & paste)