Answer by Gordon for (PHP5) Extracting a title tag and RSS feed address from...
One approach$dom = new DOMDocument; // init new DOMDocument$dom->loadHTML($html); // load HTML into it$xpath = new DOMXPath($dom); // create a new XPath$nodes = $xpath->query('//title'); // Find...
View ArticleAnswer by Tobias P. for (PHP5) Extracting a title tag and RSS feed address...
RegExp is far away from the best solution ;)Use a feed reader, the Zend_Feed class of the zend framework for example.
View Article(PHP5) Extracting a title tag and RSS feed address from HTML using PHP DOM or...
I'd like to get the title tag and RSS feed address (if there is one) from a given URL, but the method(s) I've used so far just aren't working at all. I've managed to get the title tag by using...
View Article