3
1
Back

About $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Wondermark (alt tag already present foreach($imgs as $img){ // Questionable Content (cleanup elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $article['content'] = $img_tag . $article['content']; } // Three Panel Soul // Two Lumps.

New Pull Request