3
1
Back

Or down // in case of crashes master ttrss-plugin- _comics/init.php 342 lines if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } if ($alt_text == $title_text){ } elseif ($alt_text == $title_text){ } elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // $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 hook_render_article($article) { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "
Alt: $alt_text
"; } } // Poly In Pictures elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Three Panel Soul elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img.

New Pull Request