Try:

$entry->link('alternate');

That works for me when using the Twitter feed.

Thanks,
Bradley

2009/6/12 José de Menezes Soares Neto <[email protected]>
>
> Hello,
>
> I tried to fetch
>
> http://search.twitter.com/search.atom?q=&lang=all&rpp=100&show_user=true
>
> But I can´t get the content of <link> tag inside the <entry> tags.
>
> Anyone knows how to get it?
>
> The full code is:
>
> $feed = 
> Zend_Feed::import('http://search.twitter.com/search.atom?q=&lang=all&rpp=100&show_user=true');
>
> foreach ($feed as $entry) {
>
>      $results[] = array(
>                         'id'        => $entry->id(),
>                         'content'   => $entry->content(),
>                         'published' => $entry->published(),
>                         'link'      => $entry->link() // but this is an array 
> with Dom elements...
>                         );
>
> }
>
> Regards,
>
> José



--
Bradley Holt
[email protected]

Reply via email to