3
1
Back

Added a few comics; standardized appending alt/title text function get_content($link) { $html = fetch_file_contents($link); Fix for when invisiblebread has no bread $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); } // Something Positive elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE.

New Pull Request