3
1
Back

Add VCA shaek layout ttrss-plugin- _comics/init.php 382 lines elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // Joy of Tech elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && // SatW // SatW elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // Alice Grove (get bigger image) elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Various updates, additions elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // Wondermark (alt tag already present elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { // Something Positive } if ($alt_text && !$title_text){ Various updates, additions elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $doc = new DOMDocument(); elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = new DOMXPath($doc); } function mangle_article($article) { if (preg_match("@.*(get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get 1:1 between schematic and front panel, vertical PCB mount, https://www.neutrik.com/en/product/nc3maav-0 AA Series, 3 pole XLR female receptacle with 6.35mm (1/4in) stereo jack and switching ground contact, vertical PCB mount, https://www.neutrik.com/en/product/nc3mbh B Series, 3 pole female XLR receptacle, grounding: mating connector shell and front panel, vertical PCB mount, https://www.neutrik.com/en/product/nl8md-v STX Series.

New Pull Request