3
1
Back

$url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } Added BCN, Something Positive elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; $img = $matches[1]; $img = $matches[1]; } } Pain Train (to get alt tag elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Awkward Zombie $orig_content = strip_tags($article['content']); $article['content'] = preg_replace("@

New Pull Request