ok, i see that if i change:
Code:
header("Content-type:application/rss+xml");
echo $output;
exit;
to:
Code:
header("Content-type:application/xml");
echo $output;
exit;
it does bring back xml. why exactly do you need the rss+xml piece? Is it required for something?