ancientnet.com ancientnet.com
Search:    Site Home :> About Us :> Privacy :> Terms of Service :> Add Your Link :> Add Article   
 
 

School Shootings Aren't Caused By The Type Of Student That The Media Tells You About

Teachers, principals and counselors: As most of you are aware, some of the recent school shootings w ... - Ruth Wells
 

Let God Be The Judge

How can we love our neighbor when we are judging our neighbor? Why do we judge our neighbors, fellow ... - Angie Lewis
 

The S-U-N and the S-O-N

The S-U-N and the S-O-N have much in common. The S-U-N is the visible light and the S-O-N is the spi ... - Lynn Bradley
 
 

George Bush and the Iraq War - Down on Downing Street

The British Sunday Times recently reprinted a memo written in 2002 on Bush's Iraq War that describes ... - Colin Campbell
 

Change Your Voice Digitally

Most of us may have the idea of disguising our voice once in a while for some purpose, especially sm ... - Louise Anderson
 
 

Site Home » News & Events » RSS Newsfeeds
 

Understanding RSS - Part Twelve - A Full RSS Feed Template For Podcasting & VideoCasting

 
Author: Ted Gross

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:

  1. url - The URL of the actual enclosure.
  2. length - The size in bytes and not an estimate but a total size
  3. 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)

<?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type='text/css' ?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Randy Pandy's Perfumery</title>
<description>RSS Feed for The Great Perfume Products Sold At Randy's Pandy's Perfumery</description>
<copyright>Copyright 2006 Randy Pandy's Perfumery - All Rights Reserved</copyright>
<link>http://www.randypandy.com</link>
<language>en-us</language>
<managingEditor>randypandy@randypandy.com (Randy Pandy)</managingEditor>
<webMaster>webmaster@randypandy.com (Pandy Randy)</webMaster>
<pubdate>Mon, 5 Dec 2005 23:00:00 GMT</pubdate>
<category>Ecommerce</category>
<pubdate>Mon, 5 Dec 2005 23:00:00 GMT</pubdate>
<lastBuildDate>Sun, 4 Dec 2005 23:00:00 GMT</lastBuildDate>
<image>
<title>Randy Pandy's Perfumery</title>
<width>142</width><height>99</height>
<link>http://www.randpandy.com</link>
<url>http://www.randpandy.com/images/randylogo.jpg</url>
</image>
<Item>
<title>Heaven Scent Perfume At 50% Discount</title>
<link>http://www.randypandy.com/perfumes/heavenscent.html</link>
<description>[CDATA[<img border="0" src="http://www.randypandy.com/janis/ballchain.JPG" width="138" height="180"/></a><p> Summertime, And the livin' is easy Fish are jumpin' And the cotton is high Your daddy's rich And your mamma's good lookin' So hush little baby Don't you cry One of these mornings You're going to rise up singing Then you'll spread your wings And you'll take to the sky But till that morning There's a'nothing can harm you With daddy and mamma standing by Summertime, And the livin' is easy Fish are jumpin' And the cotton is high Your daddy's rich And your mamma's good lookin' So hush little baby Don't you cry <br clear=all>]]</description>
<pubDate>Sat, 10 Dec 2005 23:00:00 GMT</pubDate>
<author>George Gershwin sung by Janis Joplin</author>
<category>Blues</category>
<category>Jazz</category>
<category>Greatest Singers</category>
<comments> http://www.janisjoplin.com/comments/summertime.html </comments>
<enclosure url="http://www.janisjoplin.com/mp3s/summertime.mp3" length="4368242" type="audio/mpeg"/>
<guid isPermaLink="true"> http://www.randypandy.com/janis/janisjoplin.html </guid>
<source url="http://www.gershwin.com/summertime.xml">Author of Summertime /source>
</Item>
</Channel>
</rss>

Now Just the Bare Bones Template.

<?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type='text/css' ?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title></title>
<description></description>
<copyright></copyright>
<link></link>
<language></language>
<managingEditor></managingEditor>
<webMaster></webMaster>
<pubdate></pubdate>
<category></category>
<pubdate></pubdate>
<lastBuildDate></lastBuildDate>
<image>
<title></title>
<width></width><height></height>
<link></link>
<url></url>
</image>
<Item>
<title></title>
<link></link>
<description>[CDATA[<br clear=all>]]</description>
<pubDate></pubDate>
<author></author>
<category></category>
<comments></comments>
<enclosure url="" length="" type=""/>
<guid></guid>
<source></source>
</Item>
<Item>
<title></title>
<link></link>
<description>[CDATA[<br clear=all>]]</description>
<pubDate></pubDate>
<author></author>
<category></category>
<comments></comments>
<enclosure url="" length="" type=""/>
<guid></guid>
<source></source>
</Item>
</Channel>
</rss>

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)

  1. RSS Mania Addiction - An Introduction to RSS and the Terminology

  2. Outline of How to Create an RSS Feed

  3. The Template File

  4. The Basic Elements of the Channel Element

  5. How The RSS Feed Works & Some Programming Constructs

  6. RSS Channel Sub-Elements Specifically Image & How To Use It

  7. Understanding RSS - The Elements Within the "Item" Element

  8. Understanding RSS - Podcasting, VideoCasting & The Magic of the Enclosure Sub-Element

  9. Understanding RSS - Rounding Out The Multi-Media - The CDATA Command

  10. Understanding RSS - Part Ten - A Basic Template File to Create Your Very Own RSS Feed

  11. Understanding RSS - Part Eleven - A Full RSS Template File to Create Your Very Own RSS Feed

Copyright 2005 Ted W. Gross. All rights reserved. (You may publish this article in its entirety with the following author's information with live links only.)

Author Bio:

Ted Gross

Ted Gross was born and raised in New York City and in 1978, moved to Israel, and currently resides in Jerusalem.

He began his writing career in University as the op-ed editor of the University paper and wrote a series of eight editorials during that year. While in Israel, he wrote two children's books. "The Letter & The Crown"; was published in Israel, while the second, and more successful, was published in the United States by United Synagogue entitled, "Of Rabbit's Wool & Camel's Hair". While teaching comparative religion, he also had articles on polemics and religion published in Midstream Magazine.

However, by the time the children's books were published his family was growing, and he began work and was active in high tech from 1985 until 2001. There he functioned as a CTO ? Chief Technological Officer ? in three different companies, managing to take two companies from start-up phase to a buyout and a successful IPO respectively.

After having taken the last company to a successful IPO, six children and a peaceful divorce, it was time to leave high-tech and try and develop some ideas in writing. At that point, Israel embarked on "Operation Defensive Shield", and since Ted is a reserve battlefield medic, he ended up in Jenin, and the battles that took place there became front-page news all over the world. "Three Weeks In Jenin" was written soon after, though unfortunately the contract was cancelled once the United States entered into its current war with Iraq. However, an independent movie producer, did do a documentary on Ted's experiences as a medic in Jenin.

He currently is working on the "Chronicles of the Children of Heaven" (a fantasy work), on another non-fiction book entitled "Last Times" and on a cooking book entitled "Help! I Have A Fire In My Kitchen", (as well as short stories and poetry from time to time). To make ends meet, Ted owns a real-estate investment firm in Jerusalem and Virgin Earth Article Submissions.

Examples of Ted's work can be found on his web site.

Usually one can find Ted either putting out fires in his kitchen, drinking coffee in a cafe musing about the great "what-ifs" of life, assistant coaching little league baseball, dealing with one of his six children, having a fight with his sister, or walking the byways of Jerusalem with Rainbow, his golden retriever, pondering the silence of the heavens.

You can search for this article using: rss feeds, rss news feeds, free rss news feeds, rss feeds news, news rss feeds, google news rss feeds
 
 
 

Related Articles

 
The 5 Minute Guide To Mastering Your Recording
 
Bird Flu Flies into Canada
 
Questioning Both Sides of the GM Crop Debate
 
Ford Recalls SUV Models
 
How RSS Advertising Can Help Business Gain A Higher ROI
 
Border Security and Illegal Immigration May Divide the Democratic Party
 
US Army to Probe Pat Tillman's Death
 
When Caesar Plays God: When the State Oversteps Its Bounds
 
Who Are The Gang of 14? Will Their Agreement Survive Through Latest Judicial Nomination?
 
Simple Middle East Peace Plan
 
 
 
Free 3 way links
 
 

Computers & Software

 

Online & Board Games

 

Realty & Property

 

Society & Issues

 

Employment & Careers

 

Medicine & Treatment

 

Travel & Accommodation

 

Online Shopping

 

Business & Companies

 

Self Help

 

Fashion & Relationships

 

News & Events

 

Creative Arts

 

Science & Space

 

Hygiene & Health

 

Recreation

 

Teens & Kids

 

Sports & Adventure

 

Academics & Education

 

Food & Recipe

 

Vehicles & Automotive

 

Finance & Banking

 

Garden & Home

 

Politics & Government


 
Site Home :> Privacy :> Terms of Service
Copyright © 2008 www.ancientnet.com