Labels Milestones
BackSwitches 74231bd333 Port in fixes from v1.1 ttrss-plugin- _comics/init.php 343 lines elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Awkward Zombie elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] = $doc->saveXML(); } // draw a "vertical" wall to mount a circuit board to, dead center wall(h=6, w=height-hole_dist_top*3-4); // color([1,0,0] // surface("FIREBALL VCO.png", center=true, invert=false); Largest size No matching results found. // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $img; } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Invisible Bread (make the bread visible if (preg_match("@.*(
New Pull Request