After the first if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $doc->saveXML(); } // Scenes From A Multiverse (to get alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') .