3
1
Back

$doc->createElement("img"); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Awkward Zombie elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // not a comic, just a borked RSS feed elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } // XKCD (alt tags we don't need to call out for foreach ($imgs as $img) { if (preg_match("@.*(

New Pull Request