Labels Milestones
BackA840574ffb1f388603595f7bc07f1297bb707d9a Mon Sep 17 00:00:00 2001 Panels/FIREBALL VCO.png } // Dilbert elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // Wondermark (alt tag already present) // Wondermark (alt tag already present elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = preg_replace("@