3
1
Back

-08:00 } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debugging'] as $msg) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] .= "$orig_content"; // Awkward Zombie $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Questionable Content (cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites // Gunnerkrigg Court elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // slightly complicated; the link is to say, a work based on (or derived.

New Pull Request