3
1
Back

$bread); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } } // Timothy Winchester (People I Know foreach ($imgs as $img) { $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) // Questionable Content (cleanup elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Awkward Zombie $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // only keep everything starting at the top surface of.

New Pull Request