|
-
Senior Member
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?
-
Perverse Futurist
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|