3
1
Back

334 lines if ($bread) { $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; function rel2abs($rel, $base) { if (GDORN_DEBUG && $article['debug']) { foreach ($article['debug'] as $msg) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Gunnerkrigg Court elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath.

New Pull Request