HTML: Feed Finder Class
Ivan Melgrati (contact me)
This class can be used to extract the URLs of RSS and ATOM feeds associated to a page, as well as OPML outline documents.
It retrieves a given page (using cURL) and parses its head section to obtain the list links to the associated RSS, ATOM and OPML links. The URLs of the available links are returned in an array, if any.
Before attempting to retrieve the specified page, the class checks the site's robots.txt file first to see if it is allowed to parse the site pages.
Click here for detailed information about this class on phpclasses.org
Example
Simple example script