3
1
Back

From afea9d5a2cf23e2a33a2927086270d4d602f5a2b Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fixes for CAD and sorcery101 Updated LICD, alter alt-textify to handle both title and alt tags textified. $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); function mangle_article($article) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Invisible Bread (make the bread visible $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // there's both alt and title texts, they're both different, use both. } elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') .

New Pull Request