SimplePie 1.5 is now available!

SimplePie Developer Weblog.  Not that we really have anything to say, but if you'll listen, why not?

Sorting multiple feeds by time and date 23 Aug 2006 

Update: With the release of SimplePie 1.0, this tutorial became obsolete. Please check out the new tutorial instead.

In this demo, I will show you how to parse multiple feeds and sort all of the posts from all feeds in reverse-chronological order (newest to oldest).

What you’ll need for this demo

  • The Multifeeds package
  • And, of course, the latest SimplePie for the RSS parsing (1.0 Beta 2 or later)

What you need to do

  1. Unzip the multifeeds.zip file.
  2. Drop the latest version of simplepie.inc into the resulting folder.
  3. Edit — or don’t edit — the index.php file to your heart’s delight. (Maybe you should just let it run untouched the first time.)
  4. Upload the whole multifeed folder to your webserver (or your localhost)
  5. Set the cache folder to server-writable.
  6. Load the index.php into your web browser, and voila!

Notes

  1. The very first time you load the page will take more time than the subsequent load will because SimplePie needs to cache all of the feeds for the first time.
  2. In the feeds you use, make sure that the items in that feed have a published or last modified date associated with them. If not, then those feed items will be shuffled out of order.
  3. Because SimplePie Beta 3 has support for something called HTTP Conditional Get, cache handling is much improved over Beta 2, leading to better overall performance.

Live Demo

Multiple Feeds Demo

Posted by Ryan Parman at 9:20 am. Comments (19)

“Lemon Meringue” is close at hand 20 Aug 2006 

Lemon Meringue

Our “Lemon Meringue” release (aka Beta 3) is coming ever-closer to completion. Although we know we’ve slipped the schedule quite a bit, it’s only because we want to get this release as solid as possible. With all of the new features we added in Beta 2, it wasn’t as stable as Beta 1. Our upcoming Beta 3 release is shaping up to be our best release yet. Here are a few things you can expect (mostly technical):

  • HTTP Conditional Get (a much more efficient cache management system)
  • Better character set detection (including fixes for a few bugs in Beta 2)
  • Allow the overriding of the input character encoding, as well as custom output encodings
  • Support for GZIP-compressed feeds
  • Support for Internationalized Domain Names (IDN)
  • Better handling of audio/video podcasts
  • A new get_favicon() function
  • More one-click subscriptions and one-click bookmarks
  • Support for fsockopen() for grabbing remote feeds
  • Better handling of feeds with extremely long filenames (like ebay feeds)
  • Improved Atom support
  • More potentially dangerous tags and attributes are stripped by default (can be overridden)
  • Tweaked some default settings for configuration options for improved reliability and security
  • Lots and lots and lots of bugfixes and minor improvements

For those of you who aren’t as technical, all of this essentially means that suddenly things will work better, faster, and more efficiently without you having to do anything. There won’t be too many fancy new features, per se, but there will be a few additional power-options for the technically inclined.

We’ve also heard that Kellan Elliott-McCrea will soon be releasing a “preview release” of the next version of MagpieRSS. We warmly welcome Kellan back to Feed-land (MagpieRSS has been silent since November 2005), and hope that the continued competition will help drive both products to be the best they can be.

Posted by Ryan Parman at 5:12 pm. Comments (2)

SimplePie discussed at BlogHer ’06 5 Aug 2006 

BlogHer

I’m getting reports around the blogosphere that SimplePie was discussed in the “Primp your blog” workshop at the recent BlogHer ’06 conference in San Jose, CA, USA. I don’t have any transcripts of the conference, but here are a few blog posts that I’ve come across that include SimplePie:

Posted by Ryan Parman at 9:40 am. Comments (2)

« Newer Posts

Older Posts »