3
1
Back

Surdos From 48790c2294e43fc9013139adc7ae38df6467f7fe Mon Sep 17 00:00:00 2001 Subject: [PATCH] Gunnerkrigg and cleanup of alt-tag-only sites Invisible Bread, Softer World (alt tags we don't need to call out for) // Dead Philosophers // Dead Philosophers $doc->loadHTML($article['content']); // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Invisible Bread (make the bread visible if (preg_match("@.*(get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Jesus & Mo elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // SBMC elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Invisible.

New Pull Request