3
1
Back

2001 ttrss-plugin- _comics/init.php 356 lines class _comics extends Plugin { function api_version() { return array(0.1, return array( $html, $content_type); } function hook_render_article($article) { return $this->mangle_article($article); } function get_img_tags($xpath, $query, &$article, $base_url=NULL) { function about() { return $rel; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Jesus & Mo elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { if (strpos($article["content"], "bonus panel!") !== FALSE) { Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for.

New Pull Request