Google feed api is out of date, how can I find the rss feed on a website?

I used the Google feed API to search for rss feeds for special keywords or websites, now this api is out of date, so I need an alternative way to search for rss site, I google, but I can not find a good way.

Finding rss from parsing an html website is not very good for me, because I want to find all rss from any subdomains.

For example, in the past, when using the Google feed API, I give ieee.org and get all rss as:

http://www.ieee.org/rss/index.html?feedId=News_Release

http://spectrum.ieee.org/rss/fulltext

http://spectrum.ieee.org/rss/blog/automaton/fulltext

and....

So, are there any api or services that I can find all the rss feeds of the website?

+4
2

rss2json API , API- Google.

var url = "http://www.espncricinfo.com/rss/content/feeds/news/8.xml"; //feed url
var xhr = createCORSRequest("GET","https://api.rss2json.com/v1/api.json?rss_url="+url);
if (!xhr) {
  throw new Error('CORS not supported');
} else {
    xhr.send();
}
xhr.onreadystatechange = function() {
    if (xhr.readyState==4 && xhr.status==200) {
        var responseText = xhr.responseText;
        var result = JSON.parse(responseText);
        console.log(result);
    }
}
function createCORSRequest(method, url) {
    var xhr = new XMLHttpRequest();
    if ("withCredentials" in xhr) {
        xhr.open(method, url, true);
    } else if (typeof XDomainRequest != "undefined") {
        xhr = new XDomainRequest();
        xhr.open(method, url);
    } else {
        xhr = null;
    }
    return xhr;
}
+1

Source: https://habr.com/ru/post/1666833/


All Articles