Magpie GZIP Bug

May 30th, 2003

MagpieRSS 0.5 can fail without errors when fetching a RSS feed using GZIP encoding if your PHP doesn’t support gzinflate() (i.e. it hasn’t been built with --with-zlib)

As of 0.5 sends an “Accept-encoding: gzip” header by default when fetching RSS files. You turn this feature off by adding define(MAGPIEUSEGZIP, 0) to the top of your script.

A patched version of the locally maintained extlib/ that checks function_exists(gzinflate) is available in CVS. This fix seems to work, I haven’t had a chance to test it widely. It is a busy week, but I’ll try to have a final fix, and new version out in the next couple of days.

(sidenote: It seems silly to fork Snoopy, and give it a new name over one minor change like adding gzip support however development on Snoopy has stopped and its confusing this maintaing a local version because I don’t want to imply there is a bug with the real Snoopy, just my version. What do you think?)

Tagged: Uncategorized , ,

Comments are closed.