3
1
Back

4) if we want $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Cyanide & Happiness elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { .

New Pull Request