问题
I just opened up my news website that I'm working on this morning and none of the RSS news feeds are being displayed, I went onto the Google Feed Forum to see if there had been anything posted about it and the only thing I found was this.
https://developers.google.com/feed/forum?place=topic%2Fgoogle-ajax-search-api%2FxP6mKdRA6n4%2Fdiscussion
So far there is no official confirmation that it has been shutdown but only speculation that it has been. If it has been shutdown, does that mean that everyone who has been using Google Feeds API up to this point will have to find an alternative? Is there any way we can continue to use it?
回答1:
there are several treads opened like Real alternative for Google Feed API
I've found http://rss2json.com/api.json?rss_url= and works ok. Doesn't generate the exactly same structure, so you will have to tweak it.
ps: sorry, but i dont have enough rep to post a comment
回答2:
Use Yahoo's YQL service:
select * from xml where url = 'https://news.ycombinator.com/rss'
It even accepts a callback
query string
https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20xml%20where%20url%20%3D%20'https%3A%2F%2Fnews.ycombinator.com%2Frss'&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=mycallback
回答3:
I'm not sure if my answer will help you, but it worked for what I needed.
I have resorted to using Google Alerts and http://feed.mikle.com tool.
Create an alert on www.google.com/alerts, and where is says "Deliver to", under "show options", select "RSS feed". Then save the alert.
Click the RSS button for your newly created alert, copy the URL and paste it on feed.mikle.com. Use the tool to customise your widget however you want, then simply copy the code on the right, and paste it onto your webpage.
来源:https://stackoverflow.com/questions/34043402/google-feeds-api-not-working-has-it-been-shutdown