Labels Milestones
BackFeel like it, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function api_version() { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // Questionable Content (cleanup) // Questionable Content (cleanup elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath.
New Pull Request