3
1
Back

"//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } Dead Philosophers elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } Some comics supported elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // Drugs and Wires elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } } } // Cyanide & Happiness elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "
Alt.

New Pull Request