3
1
Back

//doesn't get simpler than this foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); list($html, $content_type) = $this->get_content($link); $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches //No matches //No matches //No matches if ($img->getAttribute('title')) { // The Trenches elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { if (GDORN_DEBUG && $article['debugging']) { foreach.

New Pull Request