3
1
Back

(strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); // Doghouse Diaries, which has broken alt tags elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Scenes From A Multiverse (to get alt tags textified. Function rel2abs($rel, $base) { Various updates, additions /* dirty absolute URL is ready! */ Assorted updates elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get blog entry $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } } // Jesus & Mo elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Poorly Drawn Lines elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // Timothy.

New Pull Request