Quantcast
Channel: Search for RSS Feeds on Google - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Lesmian for Search for RSS Feeds on Google

$
0
0

I was kinda intrigue by your question and this is what I've find out. First of all I went to the site http://ctrlq.org/rss/ and checked what is done after click on Search button:

function findfeeds() {            var q = $.trim($('#feedQuery').val());      if(q == "") {          resetfeeds();          return false;      }      $('#pleasewait').show();         google.feeds.findFeeds(q, function(result) {      if (!result.error) {        var html = '';        for (var i = 0; i < result.entries.length; i++) {          var entry = result.entries[i];          feedList[i] = entry.url;          var count = i+1;          html += '<div id="feed-'+ i +'">';          html += '<h3><img src="//s2.googleusercontent.com/s2/favicons?domain='+ entry.link +'"/> <a target="_blank" href="'+ entry.link +'">'+ removeHTMLTags(entry.title) +'</a></h3>';          html += '<p class="snippet">'+ removeHTMLTags(entry.contentSnippet) +'</p>';          html += '<p class="feedURL">';          html += '<a href="'+ entry.url +'" target="_blank">RSS Feed</a> &sdot; ';          html += '<span class="showhide" rel="'+ i +'">Preview Feed</span></p>';          html += '<div id="feedcontent-'+ i +'"></div>';          html += '</div>';        }        $("#results").fadeOut('slow', function() {            $('html, body').animate({scrollTop:0}, 'slow');            $("#results").empty();            $("#results").append(html);            $("#results").show();        });            }            $('#pleasewait').hide();       });      return false;    }  

This is the function called after click. I noticed it uses something named 'google.feeds.findFeeds' so a bit of searching and voilà: https://developers.google.com/feed/v1/devguide#optional. There is a google api which provides functionality for searching and browsing public rss feeds :) The site provides examples of use so you can read more there. I hope this covers all of your doubts ;)


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>