$out .= "<pubDate>" . date("D, d M Y H:i:s O", strtotime($t['date'] . " 12:00pm")) . "</pubDate>\n";
$out .= "</item>\n";
}
$out .= "</rss>";
// Output the results
header("Content-type: application/xml");
echo $out;
function do_curl($url, $post = null)
{
static $tmp = null;
static $referer = "";
if(is_null($tmp))
$tmp = tempnam(sys_get_temp_dir(), 'boa');
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; en-us) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13");