PHP Classes

Simple XML RSS Parser: Parse and extract information from XML RSS feeds

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 69%Total: 6,876 All time: 292 This week: 660Down
Version License PHP version Categories
sxmlparser 1.0BSD License4XML
Description 

Author

This is a simple class that can parse XML RSS feeds and extract information from its item entries.

It uses the PHP Expat extension to parse the XML RSS feeds and locates the item entries to extract the item titles, descriptions and link values.

For each item entry that is found it outputs its values in HTML list.

Picture of Gobinath Mallaiyan
Name: Gobinath Mallaiyan <contact>
Classes: 11 packages by
Country: United States United States
Age: 44
All time rank: 456 in United States United States
Week rank: 170 Down21 in United States United States Down

Example

<?php
include_once("XmlParser.class.php");
$FeedUrl="http://www.phpclasses.org/browse/latest/latest.xml";
$XMLpar = new SimpleXmlParser($FeedUrl);
?>


Screenshots (1)  
  • SimpleXmlParser.JPG
  Files folder image Files (5)  
File Role Description
Files folder imagedocs (2 files)
Accessible without login Plain text file SimpleParser.php Example Example for the XML Parser
Plain text file XmlParser.class.php Class Base Class

  Files folder image Files (5)  /  docs  
File Role Description
  Accessible without login Plain text file comments.txt Doc. Change Track Doc
  Accessible without login HTML file manual.htm Doc. User Manual

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:6,876
This week:0
All time:292
This week:660Down
 User Ratings  
 
 All time
Utility:88%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:321