3
1
Back

//no-op else { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = new DOMXpath($doc); elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // SatW elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && // SatW elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Awkward Zombie $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog //also get the blog $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; } } module shaft_hole() { { // Timothy Winchester (People I Know elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Awkward Zombie $entries = $xpath->query($query.

New Pull Request