// These header calls are required to get the browser to see this as an RSS Feed
header('Expires: '. gmdate('D, d M Y H:i:s', time()) .' GMT');
header('Last-Modified: '. gmdate('D, d M Y H:i:s') .' GMT');
header('Content-Type: application/xml; charset=utf-8');
// The $base_url variable holds the URL to the ranking system
$base_url = $jamroom['jm_htm'] .'/ranking.php?mode=event&show=10&band_id='. $_GET['band_id'];
// now we define which templates we will use for each part
$head_tpl = 'rss_event_header.tpl';
$row_tpl = 'rss_event_row.tpl';
$foot_tpl = 'rss_common_footer.tpl';
// Now run jrCallUrl to actually run the ranking system call
echo jrCallUrl($base_url .'&header_template='. $head_tpl .'&row_template='. $row_tpl .'&footer_template='. $foot_tpl);
?>