PHP Classes

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

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 69%Total: 6,876 This week: 1All time: 292 This week: 560Down
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: 43
All time rank: 456 in United States United States
Week rank: 416 Down46 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  
  • SimpleXmlParser.JPG
  Files folder image Files  
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  /  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:6,876
This week:1
All time:292
This week:560Down
 User Ratings  
 
 All time
Utility:88%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:325