3
1
Back

""; if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches if ($img->getAttribute('title')) { // Dilbert // Dilbert elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } Gunnerkrigg and cleanup of alt-tag-only sites Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users /* absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE.

New Pull Request