3
1
Back

= $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; $article['content'] = $img_tag . $article['content']; } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { if (preg_match("@.*()@", $article['content'], $matches)) { if ($rel[0] == '/') { $path = ''; function rel2abs($rel, $base) { $rel = trim($rel); if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base.$rel; } extract(parse_url($base)); $path = ''; function rel2abs($rel, $base) { if ($img->getAttribute('title')) { // Dilbert // Dilbert elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link.

New Pull Request