<?
header('Content-type: text/xml; charset=UTF-8')
?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>The Gauntlet</title>
<link>http://www.thegauntlet.com</link>
<description>The Dungeon Awaits Radio Show</description>
<?
   include ("/home2/thegaunt/www/adm/connectdb.php");

	$result = mysql_query( "SELECT * FROM podcast ORDER BY id DESC LIMIT 0, 15 " );
	while ( $row = mysql_fetch_object( $result ) )
	{
 ?>
<item>
<title>The Gauntlet Podcast: <?php echo date('D, d M Y', strtotime($row->dt)); ?></title>
<link>http://www.thegauntlet.com/</link>
<description><? echo "$row->description"; ?></description>
<guid isPermaLink="false"><? echo "$row->id"; ?></guid>
<pubDate><?php echo date('D, d M Y H:i:s', strtotime($row->dt)); ?> GMT</pubDate>
<media:content medium="audio" type="audio/mp3" url="http://www.thegauntlet.com/podcastarchives/<? echo "$row->mp3file"; ?>" />
<media:thumbnail height="360" url="http://www.thegauntlet.com/podcastarchives/GauntletRadiobutton.jpg" width="480" />
<media:keywords><? echo "$row->tag1, $row->tag2, $row->tag3"; ?></media:keywords>
</item>
<? } ?>
</channel>
</rss>
