3
1
Back

Program), the recipient of the 3-roll in MS3? TBD. Note: Mid-surdos start with MS3. After the first elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ // Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } Clean up code formatting; added a few due to referer checks elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE.

New Pull Request