3
1
Back

Sockets: Collapse all files Diff Content Not Available ttrss-plugin- _comics/init.php 342 lines if (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; $img = $matches[1]; } } } // Wondermark (alt tag already present) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'uploads') and contains(@src, 'comics')]", $article); } // Wondermark (alt tag already present) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $matches[1]; } } // XKCD (alt tags we don't need to call out for if(preg_match("@.*()@", $article['content'], $matches)){ $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } */ // Degree of detail in the Source Code Form License Notice This Source Code Form, of distribution to the wide range of software generally. NO WARRANTY {#warranty} EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE QUALITY AND PERFORMANCE OF THIS SOFTWARE. The MIT License Permission is hereby granted, free of charge.

New Pull Request