Create RSS Feeds with PHP
I found a forums post about how to create RSS feeds in PHP. Turns out it’s pretty easy!
All you need to do is create an instance of a class, fill in some fields, and add entries via a function call. Once you’ve added all your entries, you call the output function and you’re good to go! You can either create a PHP file that dynamically serves your feed or create a PHP file that writes a XML file every so often with a cron script.
No comments yet. Be the first.
Leave a reply
