Ok I know about YQL, Yahoo Pipes and all that. But I am wondering what is the "shortcut" for someone who knows jQuery and javascript and JSON pretty well ? What would be the architecture of the generic solution using these tools to aggregate se开发者_如何转开发veral rss feeds, and then query the result ?
I would like to be able to save these queries and send them to specific users, as url's. Yes, I know this "smacks" of Yahoo "Console" but that is way too much code behind, just to make GUI etc.
Or is there some "magic bullet" already? Some jQuery plugin or similar "thing" ? At least for the part of task ?
Thanks --DBJ
The reason YQL or Yahoo Pipes are so efficient, is because they open up cross domain communication using JSONP or similar implementation. The reason straight JS and jQuery cannot be used to accomplish this is because of the cross domain restrictions.
You could use a proxy on your own server to fetch the feeds, and then aggregate them in JavaScript, but it seems it would somewhat defeat the purpose of what you were looking to accomplish in pure JS.
One more alternative to grabbing an RSS feed is the Google AJAX Feed API which I have used before.
精彩评论