3
1
Back

$img_tag . $article['content']; } // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Pain Train (to get alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // draw a "vertical" wall to mount the circuit board to, dead center .

New Pull Request