3
1
Back

Users function get_content($link) { $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; function rel2abs($rel, $base) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } //noop elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); .

New Pull Request