PDA

View Full Version : A question about gfeedfetcher



danskkr
03-28-2011, 11:47 PM
1) Script Title: gfeedfetcher

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm

3) Describe problem: Is it possible to dynamically insert an RSS url into the code?


var socialfeed=new gfeedfetcher("someid", "someclass", "_new")
socialfeed.addFeed("Slashdot", "http://rss.slashdot.org/Slashdot/slashdot") //Specify "label" plus URL to RSS feed

This might be very easy, I don't know - I'm pretty ignorant with jquery - but is it possible to be replace the URL with a variable so that I can change the RSS feed depending on another function (basically a checklist, if the user selects an RSS feed, it would change the RSS feed)?