getRaw()); $result = new FeedsParserResult($result['items']); $result->setTitle($result['title']); return $result; } /** * Return mapping sources. */ public function getMappingSources() { return array( 'title' => array( 'name' => t('Feed title'), 'description' => t('Title of the feed.'), ), 'xmlurl' => array( 'name' => t('Feed URL'), 'description' => t('URL of the feed.'), ), ) + parent::getMappingSources(); } }