Labels Milestones
Back9.5mm, but need to call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
" . $msg . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); $article['content'] .= "
Alt: " . $article['id']; } return $result_html; } function get_img_tags($xpath, $query, $article, $base_url=NULL) .