3
1
Back

{ $article['content'] = preg_replace("@@", '', $article['content']); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] = $matches[1]; } } // SBMC elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { // only keep everything starting at the first if (preg_match("@.*(

New Pull Request