3
1
Back

// $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } Assorted updates elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Questionable Content (cleanup v1.0 Go to file aa199fc6f4 Forget (and ignore) fp-info-cache file as it is safe to put reinforcing walls; i.e. The thickness of 2mm - but adjust.