3
1
Back

Textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { //noop $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $doc->saveHTML(); function get_img_tags($xpath, $query, $article) { function api_version() { * Use this if you want to dig into the linked page for content, e.g. Alt tags. */ global $fetch_last_content_type; $html = fetch_file_contents($link); $content_type = $fetch_last_content_type.

New Pull Request