3
1
Back

/ttrss-plugin- _comics/commit/969311f00cbb6d6ece9a25b5fb1d4e2884e468c0 969311f00cbb6d6ece9a25b5fb1d4e2884e468c0 Assorted updates elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // CTRL+ALT+DEL // Three Panel Soul elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function init($host) { // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Three Panel Soul.

New Pull Request