Labels Milestones
BackWere used in the post that we want $doc = new DOMDocument(); $doc->loadHTML($html); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Clean up code formatting; added a few due to referer checks elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $article['content'] .= "
" . $msg . ""; } } // Questionable Content (cleanup) // Questionable Content (cleanup) $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Least I Could Do (wtf image size? If (preg_match("@.*(