setCategoryId(self::getCategory()); $config->setName(self::getName()); } private function getFeed($URL){ $rss = new RssRenderer($URL); $rss->showDescription(true); return $rss->get(); } public function render() { try { return $this->getFeed('https://matomo.org/feed/'); } catch (\Exception $e) { return $this->error($e); } } /** * @param \Exception $e * @return string */ private function error($e) { return '