3
1
Back

$this->alt_textify($article); $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); } function rel2abs($rel, $base) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $rel; } if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = ''; foreach ($entries as $entry){ $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small.

New Pull Request