This is a compleatly valid RSS feed code as stated by the W3C rss feed validator:
- Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="http://dallas.example.com/rss.xml" rel="self" type="application/rss+xml" />
<title>Feed Title</title>
<description>Feed Discription.</description>
<link>http://www.example.com</link>
<item>
<title>Title</title>
<description>Text you want the reader to see in his/her RSS reader.</description>
<link>http://www.example.com/example.html</link>
<guid>http://www.example.com/example.html</guid>
</item>
</channel>
</rss>
Make sure you change the appropriate fields to suit your RSS feed.
DD
(Thanks to Johnathan for the original code)[/code]