Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008, 05:08 PM
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-16-2008, 09:33 PM
Junior Member
 
Join Date: May 2008
Posts: 2
Default

Probably it could be a server problem because in localhost it work! What server configuration could block import of rss?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:00 PM.