3
1
Back

Don't put R8 so close to R26 - D36/R47 too close elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Poorly Drawn Lines 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 (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { 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]=='#' || $rel[0]=='?') { return $base.$rel; if.

New Pull Request