3
1
Back

FALSE) { // Timothy Winchester (People I Know) $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; $img_tag = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Drugs and Wires elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); .

New Pull Request