#96 bug: find() not working properly

open
nobody
None
5
2012-10-10
2012-01-05
caiguanhao
No

trying to parse http://weather.yahooapis.com/forecastrss?w=2165352&u=c
the structure:
<rss>
<channel>
Yahoo! Weather - Hong Kong, HK
<link>
http://us.rd.yahoo.com/dailynews/rss/weather/Hong_Kong__HK/*http://weather.yahoo.com/forecast/CHXX0049_c.html
</link>
...
</channel>
</rss>

$html->find('link',0)->innertext returns nothing
$html->find('link',0)->outertext returns <link>
$html->find('title',0)->innertext returns Yahoo! Weather - Hong Kong, HK

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks