3
1
Back

Oatmeal elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches if ($img->getAttribute('title')) { $article['content'] = $doc->saveXML(); } // Softer World (alt tags we don't need to call out for) // Dead Philosophers elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ // Questionable Content (cleanup) // Questionable Content (cleanup // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)) .

New Pull Request