public function parseData($data) { $rssItems = parent::parseData($data); $items = array(); foreach($rssItems as $rssItem) { $content = $this->getContent($rssItem->getContent()); $normalizedFields = self::normalize($content); $body = $normalizedFields['body']; unset($normalizedFields['body']); $items[] = new DrupalCCKItem($rssItem, $body, $normalizedFields); } return $items; }
public function parseData($data) { $data = parent::parseData($data); // TODO? return array(); }