コード例 #1
0
 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;
 }
コード例 #2
0
    public function parseData($data) {
    	
    	$data = parent::parseData($data);
    	
		// TODO?    	

        return array();
    }