On Jan 26, 2008 1:05 PM, Bill YILDIRIM <[EMAIL PROTECTED]> wrote:
>
> Andries,
> I have changed the code like this
>
> list($date, $hours) = split(' ', $newstime);
> list($year,$month,$day) = split('-',$date);
> list($hour,$min,$sec) = split(':',$hours);
> $date = mktime($hour, $min, $sec, $month, $day, $year);
> $clean['title'] = $foo;
> $clean['description'] = $foo;
> $clean['link'] =
> SITE_DOMAIN.'/view/index/product/'.$linkGenerator->linkgen($thisProduct->productTitle,$thisProduct->productID);
> $clean['published'] = $date;
> $clean['guid'] =
> SITE_DOMAIN.'/view/index/product/'.$linkGenerator->linkgen($thisProduct->productTitle,$thisProduct->productID);
> $feed['entries'][] = array(
> 'description' =>
> $clean['description'],
> 'guid' => $clean['guid'],
> 'link' => $clean['link'],
> 'published' =>
> $clean['published'],
> 'title' => $clean['title']
> );
Use the force, read source.
Check this, go to comments for the __construct, it details what it expects.
http://framework.zend.com/svn/framework/trunk/library/Zend/Feed/Builder.php
published for the feed, and lastUpdate for the entries!
Till