<
p>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.
Understanding RSS - Podcasting, VideoCasting & The Magic of the Enclosure Sub-Element
Understanding RSS - Part Ten - A Basic Template File to Create Your Very Own RSS Feed
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 sizetype - 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
Randy Pandy's PerfumeryRSS Feed for The Great Perfume Products Sold At Randy's Pandy's PerfumeryCopyright 2006 RandyPandy's Perfumery - All Rights Reservedhttp://www.randypandy.comen-usrandypandy@randypandy.com(Randy Pandy)webmaster@randypandy.com (Pandy Randy)Mon, 5 Dec 2005 23:00:00 GMTEcommerceMon, 5 Dec 2005 23:00:00 GMTSun, 4 Dec 2005 23:00:00 GMTRandy Pandy's Perfumery14299http://www.randpandy.comhttp://www.randpandy.com/images/randylogo.jpgHeaven Scent Perfume At 50% Discounthttp://www.randypandy.com/perfumes/heavenscent.html[CDATA[
Summertime, And the livin' is easyFish are jumpin' And the cotton is highYour daddy's rich And your mamma's good lookin'So hush little baby Don't you cryOne of these mornings You're going to rise up singingThen you'll spread your wings And you'll take to the skyBut till that morning There's a'nothing can harm youWith daddy and mamma standing bySummertime, And the livin' is easyFish are jumpin' And the cotton is highYour daddy's rich And your mamma's good lookin'So hush little baby Don't you cry
]]Sat, 10 Dec 2005 23:00:00 GMTGeorge Gershwin sung by Janis JoplinBluesJazzGreatest Singershttp://www.janisjoplin.com/comments/summertime.htmlhttp://www.randypandy.com/janis/janisjoplin.htmlAuthor of Summertime/source>
The Basic Elements of the Channel Element
RSS Channel Sub-Elements Specifically Image & How To Use It
[CDATA[
]][CDATA[
]]
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)
How The RSS Feed Works & Some Programming Constructs
This will work and without too much trouble if you want to create a full RSS feed including enclosures for music or video this is what you need.
This Article was Part Twelve of the RSS Mania - Understanding RSS series. All parts of this series are available at Ezine Articles (www.ezinearticles.com)
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.
The Template File
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 and filling in the information.
Understanding RSS - The Elements Within the "Item" Element
Understanding RSS - Rounding Out The Multi-Media - The CDATA Command
Now Just the Bare Bones Template.
Outline of How to Create an RSS Feed
RSS Mania Addiction - An Introduction to RSS and the Terminology
Understanding RSS - Part Eleven - A Full RSS Template File to Create Your Very Own RSS Feed
Previous article: 24 January 2007
|
Home