3
1
Back

$this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Gunnerkrigg Court elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { //No matches //No matches if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Something Positive } if ($rel[0]=='#' || $rel[0]=='?') { return array(0.1, return array( 0.1, 'Yet more stupid-simple comic-fetching.', } function rel2abs($rel, $base) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Doghouse Diaries, which has broken alt tags.

New Pull Request