PDA

View Full Version : Remove Feeds - gAjax RSS Feeds Displayer v2.0



ajfmrf
06-26-2013, 03:18 AM
So John,you would have to add the second code for all feeds in example 3 to clear any feed selected?

The whole idea of a checkbox to select feeds is interesting

jscheuer1
06-26-2013, 07:27 AM
Yes. Oh and please don't interrupt another person's thread with your own question. Start a new thread. And, if you like, refer back to the original thread.

Which was:

http://www.dynamicdrive.com/forums/showthread.php?74311-gAjax-RSS-Feeds-Displayer-v2-0

ajfmrf
06-26-2013, 06:18 PM
So,is that a yes,that has to be added for each feed to deselect it

jscheuer1
06-26-2013, 08:18 PM
Yes. Oh and please don't interrupt another person's thread with your own question. Start a new thread. And, if you like, refer back to the original thread.

Which was:

http://www.dynamicdrive.com/forums/showthread.php?74311-gAjax-RSS-Feeds-Displayer-v2-0

Helps to read.

ajfmrf
06-26-2013, 08:36 PM
no need to be rude-

I did read but with your past remarks I wanted to be sure the yes was in reference to my question and not the other thread....................

jscheuer1
06-26-2013, 08:57 PM
I think you think too much. But just to be as clear as I can be, to remove a feed from a gfeedfetcher instance, use the function as shown with the feed's object (the variable name you gave it when you created it):


var cssfeed=new gfeedfetcher("example1", "example1class", "")

as the first parameter, and the label of the feed you want removed:


cssfeed.addFeed("CSS Drive", "http://www.cssdrive.com/index.php/news/rss_2.0/") //Specify "label" plus URL to RSS feed

as the second.

So to remove that feed from that gfeedfetcher instance, do:

removefeed(cssfeed, 'CSS Drive');

And yes, each time you wish to do something like that, you must use the removefeed function to do it.