3
1
Back

2 f63cfba954 Go to file 74231bd333 Port in fixes from v1.1 ttrss-plugin- _comics/init.php 334 lines if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $doc->saveHTML(); elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Something Positive if (!$alt_text){ Added BCN, Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { //no-op function rel2abs($rel, $base) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $rel; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { //noop $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Invisible Bread (make the bread visible) // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // CTRL+ALT+DEL // CTRL+ALT+DEL // CTRL+ALT+DEL elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { //noop elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // $article['content'] .

New Pull Request