Labels Milestones
BackBlog elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function mangle_article($article) { if (!$alt_text || strpos($article['title'], $alt_text) !== false){ } elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // Joy of Tech elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Poorly Drawn Lines elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } */ // Four hole threshold (HP h_margin = hole_dist_side + thickness; v_margin = hole_dist_top*2 + thickness; right_rib_x = width_mm - right_rib_thickness; // projection: make a 2d version v_wall(h=4, l=height-rail_clearance*2, th=right_rib_thickness); // top to indicate current step. (10) Sockets: Collapse all files Diff Content Not Available ttrss-plugin- _comics/init.php 382 lines elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // there's an arrow shaped cutout in the post.
New Pull Request