How would I go about when I want to use PHP for searching for a specific tag in a site’s homepage? I’d like to search for something like this:
<link rel="alternate" type="application/rss+xml" title="kirupa.com Updates" href="http://www.kirupa.com/modular/kirupa.xml">
and extract the url so that in my rssreader, when someone enters a wrong url, the script searches if it can find an alternative url to an rss feed on the particular site.
Thanks in advance.