3
1
Back

(strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Dinosaur Comics Cleanup elseif (strpos($article['link.

New Pull Request