Legal Information |
|
What is a Channel? It's best thought of as how you choose to define the information you are going to put into the file. For instance if you are putting out an RSS file to get people to look at your Web Site which has information about and sells Perfume, your channel would be that. Thus the title would read: As you can see from the template above the channel is defined by the following parameters.
<channel>
<title>" "</title>
<description>" "</description>
<copyright>" "</copyright>
<link>" "</link>
<language>" "</language>
<lastBuildDate>" "</lastBuildDate>
<image>
<title>" "</title>
<width></width><height></height>
<link></link>
<url></url>
</image>
Remember if you look at the bottom of the file you will find the end Channel marker which is of course
</channel>.Now the next level as we drill down is the item (items within the channel).
<item>
<title></title>
<link></link>
<dc:creator></dc:creator>
<pubDate></pubDate>
<description></description>
</item>
Again each item will have a title. The item title here may be: As you can see the file follows a logical template drilling down from:
</channel>
</rss>
If you are an author or writer think of it like this:
The following deals with Channel Main Elements. There are also Channel sub-elements more specifically the "image" element. Crtitical Point - None of these are required EXCEPT for the
<CHANNEL></CHANNEL>command line. However it is a good idea to include some of them.
Look on a Channel as how you choose to define the information you are going to put into the RSS file (remember it is rss.xml" for our series.) For instance if you are putting out an RSS file to get people to look at your Web Site which has information about and sells Perfume, your channel would be:
<TITLE>Randy Pandy's Perfumery</TITLE>and read in the RSS File as:
<channel>
<TITLE>Randy Pandy's Perfumery</TITLE>
Next comes the Description of your Channel. So how to define your Channel? "RSS Feed for The Great Perfume Products Sold At Randy's Pandy's Perfumery" would look like:
<DESCRIPTION>RSS Feed for The Great Perfume Products Sold At Randy's Pandy's Perfumery
</DESCRIPTION>
Now Copyright, after all we are going to release everything we write out into the Internet Virtual world and we would like to mark the text with just some sort of ownership statement. That is your copyright.
<copyright>Copyright 2006 Randy Pandy's Perfumery - All Rights Reserved</copyright>
Next command - The "link" command> You do want to be able to give any viewers the ability to know just where to find these great deals on perfume. So the link command tells them where you are and how to get to you. Let us say the website is at the directory:
http://www.randypandy.comSo the link command will look like:
<link>http://www.randypandy.com</link>
Next is Language. A language command is needed because it is part of the RSS specifications and it is important for the Readers to know just what langauge you are using. It also helps search engines know what language this is. And anything you can do to be helpful to Search Engines is critical. Care needs to be taken. Most will write in English. But what happens if the RSS feed is in another language? Well the code works like this.
language-code = primary-code ( "-" subcode )So if you were writing in English from the United States your code would be: en-us. The subcode isn't needed, "en" would be enough. A langauge code table can be found at http://www.purplepages.ie/RSS/netscape/languages.html So the next line will read:
<language>en-us</language>(Remember the "-us" is purely optional.)
Now we come to the "last build date". Again the reason for this is simple. To let search engines and users know when was the last time the file was updated. However, here too, there are some caveats. You must follow specifications on Dates. Each Day & Month is represented by a 3 letter character, as follows:
There are other possiblities here
<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>
<category>Ecommerce</category>
<pubdate>Mon, 5 Dec 2005 23:00:00 GMT</pubdate>
<lastBuildDate>Sun, 4 Dec 2005 23:00:00 GMT</lastBuildDate>
Search Knowledge Base | Feedback |