3
1
Back

Example Samurai ttrss-plugin- _comics/init.php 511 lines elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = new DOMDocument(); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // only keep everything starting at the first if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] .= $aftercomic; $article['content'] .= "
$orig_content
"; // Awkward Zombie elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } } // SBMC elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $doc = new DOMXpath($doc); $bread.

New Pull Request