3
1
Back

(cleanup) elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); // } // Something Positive elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { // replace the (containing project wonderful) with nothing $article['content'] = preg_replace("@@", '', $article['content']); } // Wondermark (alt tag already present elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .

New Pull Request