An example of RSS document with explanation.
The first line defines the XML version and the character encoding used in the document. The next line defines the version of RSS. The <channel> element is used to describe the RSS feed. The <channel> element has three tags; <title>, <link> and <description>.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>This is a sample website</title>
<link>http://www.sample.com</link>
<description>Sample website</description>
<language>en-us</language>
</channel>
</rss>