[ 'name' => 'limit (max 20)', 'type' => 'number', 'defaultValue' => 10, 'required' => true, ] ] ]; public function collectData() { $url = self::URI . 'feeds/rss/'; $limit = min(20, $this->getInput('limit')); $this->collectExpandableDatas($url, $limit); } protected function parseItem($item) { $html = getSimpleHTMLDOMCached($item['uri']); $comicImage = $html->find('img[id="strip"]', 0); $item['content'] = $comicImage; return $item; } }