3
1
Back

($rel[0]=='#' || $rel[0]=='?') { $path = ''; $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } } // Three Panel Soul * Scenes From A Multiverse (to get alt tags) } // Dilbert elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // only keep everything starting at the first $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) .

New Pull Request