3
1
Back

(strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $article['content'] = $matches[1]; } } // Awkward Zombie elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Dead Philosophers // Dead Philosophers Dead Philosophers elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Robot Hugs $entries = $xpath->query("//div[@class='entry']"); // VG Cats elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { $xpath .

New Pull Request