Log in

View Full Version : Php Rss?



Neebski
11-22-2006, 10:06 PM
Hey there, I have no idea really how to use rss but a bunch of my friends want me to make an RSS feed of our website. Currently I use PHP and mySQL to display content on pages of the site but how would I go about connecting an RSS feed to mySQL database?

AND is it even possible hah.

Thanks so much
- Kevin

chovy
11-23-2006, 12:33 AM
start by looking at the rss 2.0 spec and then write a script that will produce a feed.

djr33
11-23-2006, 01:21 AM
Link?

Sounds interesting.

chovy
11-23-2006, 01:32 AM
http://blogs.law.harvard.edu/tech/rss

Neebski
11-23-2006, 01:52 AM
awesome, thanks so much guys

djr33
11-23-2006, 05:19 AM
Ah, good link.

Busy at the moment, but I'll definitely look into that.

rcade
11-27-2006, 08:56 PM
The RSS 2.0 specification has moved. The current version is here:

http://www.rssboard.org/rss-specification

I wrote an article and PHP code a couple years ago on creating RSS feeds from a MySQL database. It should help get you started:

http://www.cadenhead.org/workbench/stories/2004/05/22/publish-mysql-data-in-rss.html