3
1
Back

Foreach ($imgs as $img) { if (anchor_hole=="right" || anchor_hole=="both") { if ($title_text == $article['title'] || strpos($article['title'], $title_text) !== False) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Cyanide & Happiness elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath.

New Pull Request