View Full Version : Generate RSS for a user in one file

03-03-2008, 08:31 AM
Does anyone know of some source code or a link that will explain how to generate an rss feed that will provide a feed based on url variables like this



03-03-2008, 05:24 PM
Most RSS feeds are created by reading a database and generating
the XML feed based off of items in a database, like news articles, stock quotes, etc.

You are generating an RSS feed for what reason?

Give us a URL where your visitor might click the RSS button to get a feed.


An specify if you really mean to GENERATE an RSS feed, or do you mean to READ an RSS feed?

03-03-2008, 07:45 PM
i mean generate not read i want to generate real estate listings for agents but i dont want agents to get listings that dont belong to them.

03-04-2008, 03:17 PM
Like mlseim indicated, you generate a feed using PHP in exactly the same way as you generate a HTML or XHTML page using PHP, by querying the appropriate rows and columns in your database. The only difference is in how you format the output - i.e., you need to format it as an XML feed.