3
1
Back

The (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Chainsawsuit elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE.

New Pull Request