What is the best PHP RSS parser class? #rss parser
 Edit
 by Rajiv Tandon - 9 years ago (2016-01-03)
 by Rajiv Tandon - 9 years ago (2016-01-03)
Parse a RSS XML feed
|  | I need to parse a XML from RSS feed in an efficient manner. | 
Ask clarification
1 Recommendation
- Parses arbitrary XML input and builds an array with the structure of all tag and data elements.
- It can validate and extract data from a whole XML document with just a single call. It supports validationg common tag value data types and can perform custom validations using a subclass.
- Optionally, keeps track of the positions of each element to allow the determination of the exact location of elements that may be contextually in error.
- Supports parsed file cache to minimize the overhead of parsing the same file repeatdly.
- Optimized parsing of simplified XML (SML) formats ignoring the tag attributes.
- Validate and extract data from a whole XML document with single function call
|  |  by Manuel Lemos  package author  26695 - 9 years ago (2016-01-03) Comment
 This generic XML parser class can be used to parse any XML RSS feed. It can process the whole XML in a single call and return the parsed document structure. Take a look at this tutorial to parse XML in PHP to see how you can extract the pieces of information you need from the RSS feed. |