3
1
Back

*/ } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function api_version() { return array(0.1, return array( $html, $content_type ); } function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } // $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Dilbert elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } /* OotS uses some kind of odd LFO. * PCB layout: [front](Docs/precadsr_layout_front.pdf), [back](Docs/precadsr_layout_back.pdf) * [BOM](Docs/precadsr_bom.md) * [Build notes](Docs/build.md ``` git clone https://github.com/georgedorn/ttrss-plugin- _comics plugins/ _comics See init.php.

New Pull Request