Expect or plan on developing modules which use the first if(preg_match("@.*()@", $article['content'], $matches)){ // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup.