Labels Milestones
BackAuthor's protection and ours, we want $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } // Timothy Winchester (People I Know elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { if ($img->getAttribute('title')) { $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // only keep everything starting at the first if(preg_match("@.*(