$offset = strpos($this->raw, '</h2>');
$offset = $offset ? $offset + 5 : 0;
if (preg_match('{
- \G (?> \s+ | <p\sclass="nav\b.*?</p> | <div [^>]*> | \[\[[^]]*\]\] )* <p> \s* (.*?) </p>
+ \G (?> \s+ | <aside\b.*?</aside> | <div [^>]*> | \[\[[^]]*\]\] )* <p> \s* (.*?) </p>
}sx', $this->raw, $bodyp, 0, $offset)) {
return $bodyp[1];
}
$Place['pass'] = '<em>onbekend</em>';
}
-print '<p class="nav right"><a href="javascript:window.print()">Print</a></p>'."\n";
+print '<aside class="nav"><a href="javascript:window.print()">Print</a></aside>'."\n";
-<div class="nav right"><a href="/nieuws/feed" rel="alternate" title="Atom feed van nieuwsberichten" type="application/atom+xml">Feed</a></div>
+<aside class="nav"><a href="/nieuws/feed" rel="alternate" title="Atom feed van nieuwsberichten" type="application/atom+xml">Feed</a></aside>
<div id="news">
<h2>Nieuwsarchief</h2>