if(preg_match("@.*()@", $article['content'], $matches)){ $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . ""; elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } .
" . $entry->ownerDocument->saveXML($entry) . "
alt
click/enter