Labels Milestones
BackFrom v1.1 ttrss-plugin- _comics/init.php 478 lines elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { // Dilbert // Dilbert // Dilbert elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; // $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] .= "
" . $entry->textContent . "
"; } } // Gunnerkrigg Court elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // draw a "vertical" wall } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d. New Pull Request