3
1
Back

Tweaks 99b8f1493d More layout updates ttrss-plugin- _comics/init.php 264 lines define('ADD_IDS', True); class _comics extends Plugin { function get_img_tags($xpath, $query, $article){ /* dirty absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array Panels/Font files/Quentincaps.ttf Normal file Unescape Hardware/PCB/precadsr/ao_tht.pretty/PPTC_RXEF025.kicad_mod Normal file Unescape define('ADD_IDS', True); class _comics extends Plugin { 'Yet more stupid-simple comic-fetching.', ' ' ); } function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag already present) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { //also get the blog // XKCD (alt tags we don't need to call out for) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // Drugs and Wires.

New Pull Request