I'm new to phpQuery. I need to achieve the simple task of getting the content of the HTML TITLE tag of a webpage. In this case I'm trying to get the title content of "Yahoo!" that should be "Yahoo!".
I'm doing this with phpQuery, but it is now working
// Testing phpQuery
$result = phpQuery::newDocumentFile($scraps['Scrap_yahoo']->getPage('http://www.yahoo.com','','off'))
->find('title');
echo $result->text();
Can someone give me a clue on how to achieve this?
Best Regards,