View Single Post
  #1 (permalink)  
Old 05-16-2008, 05:08 PM
ontheclouds ontheclouds is offline
Junior Member
 
Join Date: May 2008
Posts: 2
Default Zend Feed Rss blocked

I have a big site where I'm using three modules. In the administrators module I want to reads rss and extract the information to send news.
But when i do this
foreach ($feed as $rss)
{
try {
print($rss->link);
$channel = new Zend_Feed_Rss($rss->link);
print $channel->title();
print "hello!";

} catch (Zend_Feed_Exception $e) {
// feed import failed
echo "Exception caught importing feed: {$e->getMessage()}\n";
}
}
Then the browser show "http://feeds.feedburner.com/StabilitaPrecaria" and stop there, don't print hello or the title. the Zend_Feed_Rss($rss->link); instruction block all.
I try to put a wrong url and it catch the exeption and i have download another time zend framework to be sure that there wasn't a file-download error.
I have autoloader enabled too.

What could it be?
Reply With Quote