3
1
Back

D74befe391 Go to file 2a5bb74bbd Stuff all teh scad files in Stuff all teh scad files in ttrss-plugin- _comics/init.php 356 lines class _comics extends Plugin { function about() { return $base . $rel; } if ($rel[0]=='#' || $rel[0]=='?') { return $rel; } /* absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; // Cyanide & Happiness elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // SBMC elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // main cylinder cylinder(r1=knob_radius_bottom,r2=knob_radius_top,h=knob_height, $fn=knob_smoothness); smoothing(); } external_direction_indicator(); } } } if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Scenes From A Multiverse (to get alt tags textified. } $article .

New Pull Request