3
1
Back

File elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && // SatW elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; $img = $matches[1]; } } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Softer World (alt tags we don't need to call out for) elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE.

New Pull Request