3
1
Back

//Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Dilbert elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Chainsawsuit elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && Various updates, additions /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; return $scheme . '://' . $abs; } From.

New Pull Request