3
1
Back

Preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { if ($img->getAttribute('title')) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } } // Scenes From A Multiverse (to get alt tag) // Achewood (alt tag already present) // Wondermark (alt tag elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; // Cyanide & Happiness elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Dead Philosophers elseif (strpos($article['content.

New Pull Request