3
1
Back

$this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'comics')]", $article); } // Questionable Content (cleanup) elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // Three Panel Soul elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); // Three Panel Soul elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $doc = new DOMXPath($doc); } function hook_render_article_cdm($article) { } // Dinosaur Comics Cleanup.

New Pull Request