3
1
Back

$article['debugging']) { foreach ($article['debug'] as $msg) { $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // Girls with Slingshots $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Dead Philosophers 2015-02-25 15:05:54 -08:00 // Eat That Toast elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $article['content'] .= "" . $entry->textContent . "

"; } } // Cyanide & Happiness elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] .= "
$orig_content
"; } // Three Panel Soul elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { // Drugs and Wires elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Invisible Bread (make the bread visible $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $doc->saveXML(); } Some.

New Pull Request