3
1
Back

Preg_replace("@@", '', $article['content']); } // Camp Weedonwantcha elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // PhD Unknown // Robot Hugs $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); $article['content'] = preg_replace("@@", '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry.

New Pull Request