3
1
Back

List($html, $content_type) = $this->get_content($link); $doc = new DOMDocument(); // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { Added BCN, Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // draw panel, subtract holes // v_wall(h=4, l=height-rail_clearance*2-thickness); // top to indicate current step. (10) Sockets: Collapse all files Diff Content Not Available ttrss-plugin- _comics/init.php 468 lines elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { //no-op function rel2abs($rel, $base) { function about() { function get_img_tags($xpath, $query, &$article, $base_url=NULL) { /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ } /* absolute URL is ready! */ return $scheme.'://'.$abs.

New Pull Request