PHP RSS Parsers

PHP RSS Parsers are what many PHP developers looking for these days as every web application or website has some RSS input or output.

RSS parsers make the use of RSS simpler as they have overcame the known RSS parsing difficulties.

WebResourcesDepot have collected the most popular free RSS Parsers coded with PHP:


SimplePie is a PHP code library that makes it very easy to use RSS & Atom feeds. SimplePie is fast and standards compliant as it supports:

PHP RSS Parser

  • RSS 0.90
  • RSS 0.91 (Netscape)
  • RSS 0.91 (Userland)
  • RSS 0.92
  • RSS 1.0
  • RSS 2.0
  • Atom 0.3
  • Atom 1.0

This PHP RSS parser class has also plugins for favorite web services.



lastRSS is also a simple yet powerful PHP class for parsing RSS feeds.

  • All RSS versions supported (0.9, 1.0 and 2.0)
  • Transparent cache (doesn’t cache RSS file directly, neither HTML output, but serialized variable; cached data isn’t parsed every time, but you can still access individual fields)
  • pubDate/lastBuildDate conversion to any date/time format
  • Character encoding conversion (all encodings supported by iconv library)
  • Returns an associative array with RSS fields
  • Regullar expression parsing (very quick)
  • Strips HTML from description (both hard-coded and entity-coded)
  • Optional limit the number of returned items
  • Two ways how to proceed CDATA information (get/strip CDATA content)



This PHP RSS parser class also supports well known feed formats like RSS 1.0, RSS 2.0 & Atom.

  • Easy to use
  • Parses most RSS formats
  • Integrated Object Cache
  • HTTP Conditional GETs
  • Configurable
  • Modular



Zend_Feed provides functionality for consuming RSS and Atom feeds. It provides a natural syntax for accessing elements of feeds, feed attributes, and entry attributes. Zend_Feed also has extensive support for modifying feed and entry structure with the same natural syntax, and turning the result back into XML. In the future, this modification support could provide support for the Atom Publishing Protocol.


Compare Feedburner Feeds With Feed Compare

Feed Compare is a fresh service for comparing Feedburner feed subscribers.

This feed comparison application lets you compare up to 4 feeds at a time and presents the results with a nice flash chart interface (amCharts).

Compare Feeds

Feed Compare is great, not only comparing the end numbers but also for viewing the subscribers in a timeline (max: 24 months) to analyze the feeds of similar sites better.

P.S.: Thanks for the guys at Feed Compare for the suggestion.

Create iPhone Compatible Websites From Feeds

Intersquash is a simple yet very functional & free web service that generates an iPhone compatible web interface from feeds.

It is very handy to use the service for creating an iPhone version of any website.

iPhone Website Converter

Usage of the service is very easy. Just mention the feed URL & the title of the website &  that’s all.

You can see an example for WebResourcesDepot here.

Convert RSS Feeds To PDF Newspapers Via PHP

This is an open source PHP application which can convert any RSS feed into a PDF newspaper.

It works flawless with fetching only the text & ,currently, has a partial support for images.


The application uses other open source codes like:

If a feed shares a part of the original content, the application has an option to fetch the complete content as well.

Although the application may not seem interesting for many developers at first, the code & the function itself is an inspiration+resource for offering more out of feeds.

Parsing XML With JavaScript: jParse

jParse is a jQuery plugin for parsing XML that was fetched with the jQuery .ajax method.

It can select the value of any XML node or a node's parameter & can ouput a totally customized HTML.

jQuery XML Parse

The plugin is very flexible & offers features like:

  • running callback functions before it starts & after it finishes
  • limitting the number of to be processed
  • excluding XML nodes with certain words, numbers or symbols
  • output the number of 's in a feed anywhere in your document

As jQuery .ajax method does not allow cross domain Ajax requests, the XML must be on the same domain.

To see how easy it is to parse a XML file with jParse, check the demo.