3
1
Back

(strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Questionable Content (cleanup) $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); function mangle_article($article) { // only keep everything starting at the first elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser.

New Pull Request