SimplePie 1.5 is now available!

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

Twitter Bug 16 Aug 2008 

Just a heads-up for anyone noticing problems parsing Twitter feeds:

SimplePie supports something called HTTP Conditional Get, which is the process of asking a feed if it has changed before we re-download a fresh copy of the feed. Over the past couple of weeks, I’ve been noticing a problem with my Twitter status on my personal website, and finally had some time to run a test today to see if my instinct was correct. It was.

When SimplePie asks Twitter for a feed the first time, everything works as expected. However, at the moment, when SimplePie asks Twitter if a feed *has changed*, Twitter says “yes” (whether it has or not), and then sends us a fresh copy of the feed that has *no items in it.*

[Technical: This only seems to be a problem if we send the Last-Modified header as the value for If-Modified-Since in the request. If-None-Match and ETag seem to give the correct response].

I’ve notified Twitter of the issue, so hopefully it will be fixed soon. In the meantime, if Twitter support is critical between now and whenever they fix this bug, you can temporarily workaround this issue. See for more information.

Posted by Ryan Parman at 1:00 pm. Comments (0)