3
1
Back

Tech elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Camp Weedonwantcha foreach ($entries as $entry) { $article['content'] = $img_tag . $article['content']; .

New Pull Request