3
1
Back

= preg_replace("@@", '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; $img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; } } // Joy of Tech // Joy of Tech } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Drugs and Wires elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // Alice Grove (get bigger image // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; $article['content'] = $img; } } // Invisible Bread (make the bread visible) // Invisible Bread (make the bread visible if (preg_match("@.*(get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // .

New Pull Request