3
1
Back

If ($doc === NULL) { if ($doc === NULL) { foreach ($article['debug'] as $msg) { $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // SBMC elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base . $rel; } if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // SBMC elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath .

New Pull Request