3
1
Back

Out Change C13 to 10 nF v1.1 define("GDORN_DEBUG", False); class _comics extends Plugin { function get_img_tags($xpath, $query, &$article, $base_url=NULL) { $img_attributes_whitelist = array('src', 'alt', 'title'); if (!$base_url){ $base_url = $article['link']; } From d8a7439c05979d3c73da6a91162e90a1a48a57e5 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Add VCA shaek layout ttrss-plugin- _comics/init.php 468 lines elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] .= "Bonus comic:" . $aftercomic . ""; // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } elseif ($title_text && !$alt_text){ $text_element = $doc->createElement("i", $title_text); } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function api_version() { return $base.$rel; if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); } function get_img_tags($xpath, $query, &$article, $base_url=NULL) { function hook_render_article($article) { return $rel; } if (two_walls) { ## GitHub repository https://github.com/holmesrichards/precadsr Submodules git.

New Pull Request