Lately I've noticed that some events seem to be missing from my block. Tracking down the problem has been interesting to say the least. I started with Google to make sure the data was in the feed. It was in the feed so my next step was to look at the module and simplepie. The module does create the proper feed url but it seems that SimplePie does not take into account the arguments that get appended on the url. For example take this url (the asdfasdf replaces what was there):

http://www.google.com/calendar/feeds/asdfasdf/public/full?max-results=7&orderby=starttime&singleevents=true&sortorder=ascending&futureevents=true

I've copied directly from what the module creates the url to be and this is what is passed to SimplePie, but when I look through the debug SimplePie parses the feed as if there were no arguments and for whatever reason some of my most recent events don't end up in the feed. After looking through the SimplePie code I think I can confirm that they do strip the arguments at least in the version I have (1.2). I'm going to try to downgrade to an older version of SimplePie so I will let anyone know if that works.

Comments

jdwfly’s picture

Title: Some events missing from block » Some events missing from block with simplepie >= 1.2

Downgrading simplepie to 1.1.3 has fixed my problem. I would suggest that this dependency be put on the module page since it will not work with simplepie >= 1.2.

jdwfly’s picture

Status: Active » Fixed

Added note to project page.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.