3
1
Back

Ways. CV in to pause the clock From 96e9dd144019309f3e33f1daf66ec448c4e2d994 Mon Sep 17 00:00:00 2001 ttrss-plugin- _comics/init.php 489 lines Clean up code formatting; added a few comics; standardized appending alt/title text Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Poly In Pictures elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $article['content'] .= "Bonus comic:" . $aftercomic . "

"; // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*(ownerDocument->saveXML($entry) . ""; if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

Bonus comic:
" . $aftercomic . "

"; } .

New Pull Request