3
1
Back

{ $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; return array( $html, $content_type ); } function mangle_article($article) { Added BCN, Something Positive elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // XKCD (alt tags we don't lose it.

New Pull Request