Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Dec 2006
    Posts
    188
    Thanks
    17
    Thanked 0 Times in 0 Posts

    Generate RSS for a user in one file

    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

    http://mysite.com/rss.php?user=biggie

    thanks

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,537
    Thanks
    8
    Thanked 1,093 Times in 1,084 Posts
    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?

  • #3
    Regular Coder
    Join Date
    Dec 2006
    Posts
    188
    Thanks
    17
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •