if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $img_tag . $article['content']; } // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks Dead Philosophers // Dead Philosophers elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath.