3
1
Back

} Gunnerkrigg and cleanup of alt-tag-only sites Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users) function about() { return $this->mangle_article($article); } function init($host) { // Dead Philosophers // Dead Philosophers elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); } // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); // Joy of Tech // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); // Awkward Zombie elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) .

New Pull Request