3
1
Back

Want $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // XKCD (alt tags we don't need to call out for foreach ($imgs as $img) { $article['content'] .= "
$orig_content
"; } // Gunnerkrigg Court elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); .

New Pull Request