If you're only going to display one feed in the end, then I would suggest calling them one at a time and checking to see how many entries you received in the callback. If the feed returns no entries, then you can load the next feed URL.
Jeremy R. Geerdes Generally Cool Guy Des Moines, IA For more information or a project quote: [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Jan 4, 2012, at 8:13 PM, Suresh wrote: > Hi All, > > I am using google feed api to display RSS feed on a webpage and i > have to choose one among 3 different RSS Feed URLS ( A , B, C) to > display in the div component. > Initially i initialize the feed with URL A and try to display the blog > in the div component and if the blog is empty i.e if the feed URL A > doesn't have any posts > then i want to check feed url B and display it. If feed url B is empty > as well then i would like to display the posts from feed url C. > Since the div is populated asynchronously from the feed urls how can > i know if the feed URL A is empty and that i should switch to feed URL > B? > Please let me know if you have any suggestion on how to handle this. > > Thanks & Regards > Suresh > > -- > You received this message because you are subscribed to the Google > Groups "Google AJAX APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > To view this message on the web, visit > http://groups.google.com/group/google-ajax-search-api?hl=en_US > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] To view this message on the web, visit http://groups.google.com/group/google-ajax-search-api?hl=en_US For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
