3
1
Back

In ttrss-plugin- _comics/init.php 356 lines class _comics extends Plugin { catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; } } // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $article['content'] = $doc->saveHTML(); elseif (strpos($article['link'], 'somethingpositive.net') .

New Pull Request