Re: Mixing RSS Feeds

139 views
Skip to first unread message

Jeremy Geerdes

unread,
Dec 5, 2012, 2:27:03 PM12/5/12
to google-ajax...@googlegroups.com
Yes, you could get multiple feeds using this approach, but not simultaneously, as your subject would suggest you want to do. The Feeds API simply doesn't do multiple feeds simultaneously. You could, however, pull multiple feeds in a nested fashion (i.e., get feed 1 and then, in the callback, get feed 2, etc.). Or you could figure out a way to get all the feeds and then, in the callbacks, check to see if you have all the responses and, if you do, proceed with merging them. There are a number of other alternatives.

jg

On Wed, Dec 5, 2012 at 1:07 PM, prl <prl...@gmail.com> wrote:
Hello,

I have a simple code that I use to get an RSS feed. I'm using this Google Ajax API endpoint to do so (for example, for the URL http://www.engadget.com/rss.xml):


$.getJSON(url, function(data) {
 
// code
 
}, "jsonp");

My question is: is it possible to load two feeds using this approach? (Is it possible at all?) Should I do this by following what's here: https://developers.google.com/feed/v1/devguide

Thanks

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/pXgRbK_oBVAJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en



--
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

Jeremy Geerdes

unread,
Dec 5, 2012, 7:30:07 PM12/5/12
to google-ajax...@googlegroups.com
Another option that I didn't think about earlier would be to combine the Google Feeds API with Yahoo Pipes. Pipes allows you to mix and merge - aggregate - a variety of feeds into a single feed, which you can then pull with the Feeds API. Maybe that's more helpful!

jg

prl

unread,
Dec 6, 2012, 4:50:00 AM12/6/12
to google-ajax...@googlegroups.com
Thanks for your replies, I'll take a look at it! :)


On Thursday, December 6, 2012 12:30:07 AM UTC, jgeerdes [AJAX APIs "Guru"] wrote:
Another option that I didn't think about earlier would be to combine the Google Feeds API with Yahoo Pipes. Pipes allows you to mix and merge - aggregate - a variety of feeds into a single feed, which you can then pull with the Feeds API. Maybe that's more helpful!

jg

On Wed, Dec 5, 2012 at 1:27 PM, Jeremy Geerdes <jrge...@gmail.com> wrote:
Yes, you could get multiple feeds using this approach, but not simultaneously, as your subject would suggest you want to do. The Feeds API simply doesn't do multiple feeds simultaneously. You could, however, pull multiple feeds in a nested fashion (i.e., get feed 1 and then, in the callback, get feed 2, etc.). Or you could figure out a way to get all the feeds and then, in the callbacks, check to see if you have all the responses and, if you do, proceed with merging them. There are a number of other alternatives.

jg


On Wed, Dec 5, 2012 at 1:07 PM, prl <prl...@gmail.com> wrote:
Hello,

I have a simple code that I use to get an RSS feed. I'm using this Google Ajax API endpoint to do so (for example, for the URL http://www.engadget.com/rss.xml):


$.getJSON(url, function(data) {
 
// code
 
}, "jsonp");

My question is: is it possible to load two feeds using this approach? (Is it possible at all?) Should I do this by following what's here: https://developers.google.com/feed/v1/devguide

Thanks

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
--
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

Reply all
Reply to author
Forward
0 new messages