3
1
Back

$img_tag . $article['content']; elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { //No matches if ($img->getAttribute('title')) { // Cyanide & Happiness elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Cyanide & Happiness elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $article['content'] .= "

" .

New Pull Request