3
1
Back

$entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } function mangle_article($article) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base.$rel; if ($rel[0] == '#' || $rel[0] == '?') { return 2; } /* absolute URL */ /* replace '//' or '/./' or '/foo/../' with .

New Pull Request