Log in

View Full Version : External.php RSS headers aren't right?


sarahk
06-20-2005, 09:05 PM
I've got a new vBulletin install sitting on a Mambo site. I'm trying to use Mambo's rss parser to show the last x posts. Should be straight forward right!?
If I add it to Mambo it gets nothing
If I call up external.php?type=rss I can see the unformatted feed in my browser, looks fine
If I save the unformatted feed as a text file with a .xml extension and add it to Mambo it works

So I was wondering if external.php was sending the wrong headers?

header('Content-Type: text/xml');
header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');

Any ideas on what to do?

Zachery
06-20-2005, 09:29 PM
If you feel the headers arn't correct you should bring it up at vB.com :)

sarahk
06-20-2005, 09:31 PM
I don't actually know. It's the only reason I can think of why a text stream will work in one situation and not in another. I guess I was thinking that others might have had problems using external.php and fixed it by doing something...