'How To Discover RSS Feeds for a given site [duplicate]
The quest is, given a site url (say https://stackoverflow.com/ ) to return the list of all the feeds available on the site. Methods acceptable:
a) use a 3rd party service (google?, yahoo?, ...) programmatically b) using a crawler/spider (and some tips on how to configure the spider to return the rss/xml feeds only) c) programmatically using c/c++/php (any language/library)
The task here is not to get the feeds contained on the page returned by the url but ALL the feeds that are available on the server at any depth... in any cases please provide a simple usage example.
Solution 1:[1]
The only way I know of doing this is to depend on the RSS discovery protocol, which has beben around for about 4 years. Crawl the site, and look in the HTML pages for the RSS auto-discovery tags:
<link rel="alternate" type="application/rss+xml"
title="Something"
href="http://www.example.com/feed1.xml” />
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Cheeso |
