3
1
Back

Gunnerkrigg and cleanup of alt-tag-only sites Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Three Panel Soul elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); $article['content'] = $img_tag . $article['content']; } // Jesus & Mo elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = new DOMDocument(); elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Questionable Content (cleanup) // Questionable Content (cleanup // only keep everything starting at the first if(preg_match("@.*(get_img_tags($xpath, "//div[@class='timeline-description']", $article); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Hole for setscrew } // Camp Weedonwantcha elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { //no-op function rel2abs($rel.

New Pull Request