simpleXML PHP tutorial learn to parse any XML files and RSS feeds



Lesson Code: http://www.developphp.com/video/PHP/simpleXML-Tutorial-Learn-to-Parse-XML-Files-and-RSS-Feeds
Learn to parse any XML based feeds or data using PHP and a for loop. You can target any popular website RSS and rip data straight from their feeds using minimal code that is very easy to understand. We use the simplexml_load_file() function to make an XML object out of the XML file online. An XML object that can then be parsed easily enough with a PHP for loop. The simplexml_load_file() function is part of the simpleXML extension of PHP.

source

Leave a Reply

Your email address will not be published. Required fields are marked *