3
1
Back

. $abs; if (preg_match("@.*(getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // XKCD (alt tags we don't need to call out for) $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'comics')]", $article); } Some comics supported elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Cyanide .

New Pull Request