3
1
Back

Return array( $html, $content_type ); } function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return 2; } } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = new DOMDocument(); // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } Gunnerkrigg and cleanup of alt-tag-only sites Clean up code formatting; added a few comics; standardized.

New Pull Request