3
1
Back

Function mangle_article($article) { // Something Positive elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Drugs and Wires elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { // Dilbert // Dilbert elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE.

New Pull Request