Replace the deprecated Google Api feed RSS to JSON service
See original GitHub issueThe current demo uses the Google Api feed service which has been deprecated and no longer works. Therefore, after the initial yarn install && yarn start
there are no news displayed on the Home page.
This might be quite confusing for newcomers as the demo shows these news.
A quick working fix might be to use rss2json.com like this:
...
const url = 'https://api.rss2json.com/v1/api.json?rss_url=https%3A%2F%2Freactjsnews.com%2Ffeed.xml';
...
and in the data handling section:
...
if (data.status === 'ok') {
items = data.items;
}
...
Voala! The news are now showing properly.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Google feed api deprecated, How can i find rss feed of web site?
I used Google Feed API for finding rss feeds of special keywords or websites, now this api deprecated, so i need alternative way...
Read more >Google Feed API is no longer available - LingoHub
With 2nd December 2015 fetching RSS Feeds via the Google Feed API (deprecated by April 2015) doesn't work anymore!
Read more >Contacts API Migration Guide | People API - Google Developers
The Contacts API was turned down on January 19, 2022. Use this guide to learn about changes to fields, endpoints, and authorization scopes ......
Read more >Displaying RSS feeds using YQL, a Google Feed API alternative
Displaying RSS feeds using YQL, a Google Feed API alternative. Tutorial posted: Dec 3rd, 15'. With the official deprecation of Google Feed ......
Read more >February 2022 - Google Ads Developer Blog
There are also some maintenance updates removing deprecated ... Note: AdWords API developers must migrate to Google Ads API by April 27, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I created a pull request for this https://github.com/kriasoft/react-starter-kit/pull/1092
@westrem I have made the changes also, but it requires a bit more than the above as the requested data doesn’t have exactly the same structure as before. publishedDate => pubDate, contentSnippet => content. The content field would need some truncation also to make it into a snippet, or just omit it completely as it isn’t really necessary. Did you want to make a PR on this? or shall I give it a go?