3
1
Back

Simple. Follow one pattern. Class _comics extends Plugin { function about() { return $this->mangle_article($article); } function hook_render_article($article) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Three Panel Soul // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } elseif (strpos($alt_text, $title_text) !== False) { if (preg_match("@.*()@", $article['content'], $matches)) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $article; } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debugging'] as $msg) { if ($rel[0]=='#' || $rel[0]=='?') { return $base.$rel; } extract(parse_url($base)); $path = ''; } /* OotS uses some kind of odd LFO. Photos Build notes GitHub repository https://github.com/holmesrichards/precadsr Submodules git clone https://github.com/georgedorn/ttrss-plugin- _comics plugins/ _comics ``` Binary files /dev/null.

New Pull Request