$doc = new DomDocument('1.0', 'utf-8');
$doc->loadXML('<body>'.$txt.'</body>');
$xp = new DomXPath($doc);
foreach ($xp->query('//a') as $anode) {
echo $anode->nodeValue;
};
foreach ($xp->query('//span[@class="date"]') as $date_node) {
list($date, $time) = explode(' - ', $date_node->nodeValue);
};