Просмотр поста

.
L!MP

Я вобще не соображаю в регулярных выражениях, так что, вот:

$content  = '<html><head><meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/></head>';
$content .= file_get_contents('http://wildrandom.ru/forum/extern.php?action=feed&type=html');
$content .= '</html>';

$dom = new DOMDocument;
$dom->loadHTML($content);

foreach ($dom->getElementsByTagName('a') as $i => $a) if ($i == 10) { break; } else {
    echo '<a href="'. $a->getAttribute('href') .'">'. $a->nodeValue .'</a><br>';
}