A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: creating RSS file for www.flashculture.com

  1. #1
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194

    creating RSS file for www.flashculture.com

    Hi,

    I've read an article which makes it seem pretty straight forward to create a XML file, but what if the content on your page is constantly changing? and comes in from a database? My site www.flashculture.com has a lot of entries (title/desc/link) in a database, which are displayed according to different search terms, how would all that compile to a Rss file? would I create a Rss file with all the content in it? or just the most recent?

  2. #2
    Perverse Futurist villain2's Avatar
    Join Date
    Sep 2002
    Location
    Baltimore, MD
    Posts
    891
    If the content on your page is constantly changing, you should have a script written that will write your rss either everytime the site is accessed or at designated times during the day.

    If you want an rss file of all your items, then query your database and then have php write out the rss file, looping through all entries.

    I'm assuming you're looking to put an rss button on your site. If so, when the user clicks the rss button, the button should link to a page that writes the rss file based on your database content at that time, and then forwards the user to that page.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center