3
1
Back

Layout ttrss-plugin- _comics/init.php 264 lines define('ADD_IDS', True); define('ADD_IDS', False); define("GDORN_DEBUG", False); class _comics extends Plugin { function get_img_tags($xpath, $query, $article){ $new_src = $this->rel2abs($orig_src, $article['link']); if ($alt_text && !$title_text){ } /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } module pot_0547() { // Dead Philosophers elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Joy of Tech elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Girls with Slingshots // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Cyanide & Happiness elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } if(preg_match("@.*(56529bef3a0c7d0b31cfccd6b6ce971fb35b4e9c Updates from real TL0x4, fix pots being backwards, tighten up schematic, fit letter instead of A4 Updates from real TL0x4, fix pots being backwards, tighten up schematic, fit letter instead of latch, https://www.neutrik.com/en/product/nc3fahr1-0 A Series, 3 pole XLR female receptacle with 6.35mm (1/4in) mono jack, switched, fully threaded nose, https://www.neutrik.com/en/product/nsj12hh-1 Stacking Jacks, Mono dual jack, full nose, https://www.neutrik.com/en/product/nsj8hc Stacking Jacks, Stereo dual jack, full nose, https://www.neutrik.com/en/product/nsj8hc Stacking Jacks, Mono dual jack, quick fix nose, https://www.neutrik.com/en/product/nsj12hl Combo I series, 3 pole female XLR receptacle, grounding: separate ground contact to mating connector shell and front panel, vertical PCB mount, retention spring.

New Pull Request