I have a old website that generate its own RSS everytime a new post is created. Everything worked when I was on a server with PHP 4 but now that the host change to PHP 5, I alwa
I would use simpleXML to create the required structure and export the XML. Then I'd cache it to disk with file_put_contents().