PDA

View Full Version : Convert (or create) RSS feed from PHP




sigamy
Apr 13, 2007, 05:43 PM
I have a .php file that is pulling stuff from a mysql database. How can I convert this to an RSS feed?

I've googled and found lots of ways to go from RSS to HTML but not much on the other way.

I also have a php script that tries to generate XML for a feed but I can't figure out how to call this script to have it generate the file...



rogersmj
Apr 13, 2007, 06:45 PM
I use this class (http://www.phpclasses.org/browse/package/2957.html) to generate RSS feeds in PHP. The usage is very simple. I believe there's an example included in the download.