(containing project wonderful) with nothing $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; // Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { //also get blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "