Labels Milestones
Back74231bd333 Port in fixes from v1.1 ttrss-plugin- _comics/init.php 468 lines elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] .= "
Alt: $alt_text"; list($html, $content_type) = $this->get_content($link); $doc = new DOMDocument(); $doc->loadHTML($html); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Two Lumps elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // XKCD (alt tags we don't need to call out for) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // only keep everything starting at the first if (preg_match("@.*(
- Fabs fcf4fb3bc8 Invisible Bread, Softer World (alt tags.
- 0 -8.56166 5.56266 facet normal -1.575938e-001 -2.757894e-001.
- Normal 0.0624768 -0.076128 0.995139.
- 44.5; hole_hdist = 65.