3
1
Back

It, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function about() { return 2; } } Invisible Bread, Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Poly In Pictures elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = new DOMDocument(); elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions // PhD Unknown // Robot Hugs elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] .= "
$orig_content
"; } // Cyanide & Happiness elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE && Various updates, additions 2018-03-14 21:06:04 -07:00 From cb3a50e19a42a9ab425057cfa1f9427c1c21d019 Mon Sep 17.

New Pull Request