View Single Post
  #4 (permalink)  
Old 08-05-2008, 07:48 AM
akizdetz akizdetz is offline
Junior Member
 
Join Date: Feb 2008
Posts: 6
Default I hope this is the answer to your question

Zend_Feed::registerNamespace('yweather','http://xml.weather.yahoo.com/ns/rss/1.0');
$feed = Zend_Feed::import('http://xml.weather.yahoo.com/forecastrss?p=EIXX0014&u=c');

$condition = $feed->current()->{'yweather:condition'};
$text = $condition->getDOM()->getAttribute('text');
var_dump($text);
Reply With Quote