3
1
Back

From 48c8a4e4f4fcbe006366a8816f63cc69d2b79d5a Mon Sep 17 00:00:00 2001 Subject: [PATCH 03/18] tweaks layout with input from sam 52b504dd7c Delete 'Panels/futura light bt.ttf' 4fd9d8b7bf Delete 'Panels/Futura XBlk BT.ttf' ttrss-plugin- _comics/init.php 356 lines class _comics extends Plugin { Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); // Joy of Tech elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Dilbert // Dilbert elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'cad-comic.com/sillies/') .

New Pull Request