I\'m using this example to fetch links from a website :
http://www.merchantos.com/makebeta/php/scraping-links-with-php/
$xpath = new DOMXPath($dom); $hre
Try this:
$link_title = $href->nodeValue;