HOME  → POSTS  → 2004

Newer-er. Better-er. Simpler-er.

Projects and Code278 words2 minutes to read

In record time, SimplePie 0.92 is now available. This release adds all sorts of things such as better (and faster) caching, a user agent string, smarter handling of problematic characters and entities, and a fix for Mr. Dunstan’s feed.

For those who are skeptical of “yet another feed parser”, or are hesitant to switch to (or begin using) SimplePie, let me explain it this way. Most RSS parsers go through this process of breaking a feed down into this big array, which may be fine for some, but can be impossible for beginners and newbies. SimplePie takes an Apple-esque approach by providing thoughtfully-named, easy to use functions that do what one would expect them to do.

At the core, SimplePie relies on XMLize (as the easy-to-use Mac OS X relies on the more powerful Unix-based core), which is a very powerful, yet elegantly simple class for parsing XML documents with PHP. This means that if SimplePie doesn’t do all that you want it to out-of-the-box (which would be suprising, but possible), you can easily extend it to support whatever else you might want.

I’ve frozen the current function set where it’s at. This means that if you’ve been using SimplePie already, or if you’re wanting to start using it, you won’t need to change any of your code as new versions get released. You’ll simply need to replace the old SimplePie library with the new one to take advantage of new improvements. New functions may become available to use, but new versions of SimplePie will not break existing services and applications.

If you’ve been thinking about building your own web-based RSS/Atom reader, why not give SimplePie a try?

Ryan Parman

is an engineering manager with over 20 years of experience across software development, site reliability engineering, and security. He is the creator of SimplePie and AWS SDK for PHP, patented multifactor-authentication-as-a-service at WePay, defined much of the CI/CD and SRE disciplines at McGraw-Hill Education, and came up with the idea of “serverless, event-driven, responsive functions in the cloud” while at Amazon Web Services in 2010. Ryan's aptly-named blog, , is where he writes about ideas longer than . Ambivert. Curious. Not a coffee drinker.