Labels Milestones
BackLast 5 notes of what would be to download the image via fetch_file_contents and mirror it. // Order of the Stick elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Achewood (alt tag) elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Eat That Toast bog-standard example // Breaking Cat News elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // Girls with Slingshots elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] = $img; } $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'] .= "
$orig_content"; } // Wondermark (alt tag already present) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Wondermark (alt tag already present elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE.