PDA

View Full Version : RSS and user chosen options


Sinister-wolf
February 21st, 2006, 09:40 PM
I am creating a php site, mainly its just a list of bookmarks, some basic local news updates and such, however I want to have the user choose between 4 or so different rss feeds, and have them load within two different tables.

If the user so chooses to change the rss feeds, they can. etc.

how would I go about setting it up so that it autorefreshes the page for the new rss choices. and how would i have it so that the user's choice stays.

however I dont want to have them register as a member as I dont want forums if I dont require them, and at this time its not pheasable.


any suggestions and help would be greatful.
thanks.

degsy
February 22nd, 2006, 12:14 AM
If they are not logging in then you would have to use cookies, although many users/software block unneeded/unwanted cookies these days.

oracle128
February 22nd, 2006, 03:30 AM
You could use PHP sessions (http://www.phpfreaks.com/tutorials/41/0.php) as an alternative to cookies, but they are only good for keeping variables while the user is logged on. If you want to keep choices well after they've logged off/left the site, you'll need to use cookies.

For refreshing the page, unless you use something like Ajax or a Java applet, you're stuck using META refresh (http://en.wikipedia.org/wiki/META_refresh) - just set it to an interval appropriate to your content (which usually shouldn't be anything less than a minute; most RSS clients default to a 15 minute interval).

Sinister-wolf
February 22nd, 2006, 06:20 AM
thanks for the help so far,

as for the refresh, is a one time deal, as not many people sit at one site and stare for more than 30 seconds to 2 mins anyways.

http://www.coresignsgraphics.com is the site where i'll be doing this.. ..

there's still some technical issues to finalize., and I Know I still need a preloader on that 770k swf,. thats coming still..


**offtopic

I must say I love these new edit panels, .. they make it so much handier to edit a post without having to load a whole new window., this is only the 2nd site I've seen with it.

degsy
February 22nd, 2006, 10:00 AM
That is Ajax for you
http://files.vbulletin.com/3.5/ajax.html
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm