Magpie-RSS + Snoopy + Gzip + reddit = broken

December 11th, 2007 by James Sullivan | Filed under Blog.

I have a news page: bobbysullivan.com/home

I use that to read my news because it doesn’t keep history, doesn’t let me surf through more than just the top current articles, and over-all reduces the temptation to surf through like 10 pages of reddit articles (yes, it happens). I must have some sort of news addiction.

My reddit news feed has been broken and just took a second to review it – turns out that reddit uses gzip for their rss feed. Snoopy, the user-agent script provided with Magpie-RSS doesn’t really support gzip. Per this blog entry [http://laughingmeme.org/category/gzip/] , the way to disable gzip (and make sure it works) is to add this to your script:

define('MAGPIE_USE_GZIP', false);

sharing is good:
  • Digg
  • del.icio.us
  • Facebook
  • Reddit
  • Fark
  • TwitThis

Leave a Reply

You must be logged in to post a comment.

  • Author

    Here you can provide some author or blog infomation.