MyBB Community Forums

Full Version: Load times for an RSS feed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, here is my small situation. I made a small PHP script that fetches an RSS feed already made from a location (using file_get_contents()) converts it into a string, then modifies the string using a preg_replace() on criteria I believe is necessary for the feed.

I then output the feed from that script in particular, with both an "xml+rss" header along with an apache mod_rewrite of a "feed.rss" ghost file so when accessed it can be recognized as RSS.

No feeder recognizes it and it times out. I tried removing all the PHP source code and literally just echo'ing out the original content of the feed without fetching anything, and it works fine. Is it something to do with the load times?
It might are you getting an error? (check the logs too).
No error besides the reader not picking it up. And what logs?