↧
Answer by ThW for Parsing RSS with PHP
Here can be whitespaces between the opening <description> tag and the opening <![CDATA[. This is a text node.So if you access the firstChild of description, you might fetch that whitespace...
View ArticleAnswer by Isaac for Parsing RSS with PHP
The problem was with CDATA you need to use textContent instead of nodeValue to retreive value beetween <?php$feed = new DOMDocument();$feed->load('http://www.mlssoccer.com/rss/en.xml');$items =...
View ArticleParsing RSS with PHP
I'm trying to parse RSS: http://www.mlssoccer.com/rss/en.xml .$feed = new DOMDocument();$feed->load($url)$items =...
View Article
More Pages to Explore .....