3
1
Back

$doc->createElement("p"); $article['content'] = $img_tag . $article['content']; // $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ function get_img_tags($xpath, $query, $article) { function get_img_tags($xpath, $query, $article){ /* dirty absolute URL is ready! */ return $scheme.'://'.$abs.

New Pull Request