This is my RSS on my site's code:
<? header('Content-type: application/xml'); ?>
<? echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?>"; ?>
<rss version="2.0">
<channel>
<title>FROSTITUTION.NET: A Nick Frost Fansite</title>
<description>Shows the last 15 news posts, the first 8 appearing on the front page only.</description>
<link>http://www.frostitution.net</link>
<copyright>© 2004-2007 frostitution.net</copyright>
<?php
mysql_connect("localhost", "username", "password");
mysql_select_db("frostitution");
$result = mysql_query("SELECT id,title,body FROM news ORDER BY id DESC LIMIT 0,15");
while($r = mysql_fetch_array($result))
{
?>
<item>
<title><?=htmlentities(strip_tags($r['title'],'ENT_QUOTES'));?></title>
<description><![CDATA[<?=$r['body']?>]]></description>
<link>http://www.frostitution.net/</link>
</item>
<? } ?>
</channel>
</rss>
I threw in some PHP because I did some server side trickery
But you can see that it's mainly XML