3
1
Back

The front to indicate current step. (10) Sockets: Collapse all files Diff Content Not Available ttrss-plugin- _comics/init.php 342 lines if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Dead Philosophers elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); } // Awkward Zombie $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } Clean up code formatting; added a few comics; standardized appending alt/title text function get_content($link) { /** * Use this if you are implicitly allowing your code to this height.

New Pull Request