question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replace the deprecated Google Api feed RSS to JSON service

See original GitHub issue

The 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:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

1reaction
Grabescommented, Jan 17, 2017
1reaction
jwhchamberscommented, Jan 14, 2017

@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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found