|
|
| Making an RSS Feed |
<title>The Title Goes Here</title>
<descritpion>The description goes here</description>
<link>http://www.linkgoeshere.com</link>
As I mentioned earlier, an RSS feeds contains items and like the tags above, an open and close tag is used to distinguish between items.
<item>
<title>The Title Goes Here</title>
<descritpion>The description goes here</description>
<link>http://www.linkgoeshere.com</link>
</item>
<item>
<title>Another Title Goes Here</title>
<descritpion>Another description goes here</description>
<link>http://www.anotherlinkgoeshere.com</link>
</item>
Now an RSS Feed is a series of items, these items are chained together to create what is called a "Channel".
The Channel appears at the top of the file and tells people how the items relate to each other. Like items channels use title, description and link tags to describe its content. The open channel tag <chanel> occurs before the first item and the close tag </channel> occurs after the last item.
<channel>
<title>The Channel Title Goes Here</title>
<description>The explanation of how the items are related goes here</description>
<link>http://www.directoryoflinksgohere</link>
<item>
<title>The Title Goes Here</title>
<descritpion>The description goes here</description>
<link>http://www.linkgoeshere.com</link>
</item>
<item>
<title>Another Title Goes Here</title>
<descritpion>Another description goes here</description>
<link>http://www.anotherlinkgoeshere.com</link>
</item>
</channel>
Finally you will need to designate the file by indicating it is an XML file by inserting xml and rss defining tags at the beginning and </rss> at the very end.
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>The Channel Title Goes Here</title>
<description>The explanation of how the items are related goes here</description>
<link>http://www.directoryoflinksgohere</link>
<item>
<title>The Title Goes Here</title>
<descritpion>The description goes here</description>
<link>http://www.linkgoeshere.com</link>
</item>
<item>
<title>Another Title Goes Here</title>
<descritpion>Another description goes here</description>
<link>http://www.anotherlinkgoeshere.com</link>
</item>
</channel>
</rss> |
|
|
|
|
|
|