If I Select Show events from today only, The gcal do not read de feed:
GCal Events[acttividadesHoy] A feed could not be found at http://www.google.com/calendar/feeds/antoalvarez@gmail.com/private-825f2...

The feedUrl in debug mode says:
Invalid value for start-min parameter: 2009-10-04T00:00:00 02:00

In normal mode, not selected Show events from today only, work ok.
¿What's the problem"

Comments

elanghout’s picture

I have the same problem. It seems that timezones +XX go wrong because the + sign in the URL is reserved for the space-character. Therefore the start-min and start-max arguments need to be urlencoded. This will translate the + in the RFC 3339 timestamp format on the URL to %2B.

So in antonioj.alvarez's example "2009-10-04T00:00:00 02:00" should be (urldecoded) "2009-10-04T00:00:00+02:00"

Somewhere in simplepie.inc this goes wrong. Commenting line 9287 in simplepie.inc seems to be working:

.............
function fix_protocol($url, $http = 1)
{
//$url = SimplePie_Misc::normalize_url($url);
$parsed = SimplePie_Misc::parse_url($url);
...............

antonioj.alvarez’s picture

Thanks.
Very Good your reply.

Antonio j. Alvarez
http://www.ceplinares.org

Whiskey Finn’s picture

Issue tags: +GCal Events, +simplepie, +Allday, +timezones

Hello my name is Whiskey i am a bit of a drupal newbie. …...I am having the same problem however the version of Simplepie i am using only has 2627 lines of code

Can some further elaborate the fix please? perhaps tell me what to put where to make the gcal events display from the next upcoming event rather than all day?

Cheers

Whiskey
www.WFKU.org

here is my gcal events error messages

The block configuration has been saved.
Timezone: America/Los_Angeles
GCal Events: Cache is set to sites/all/modules/gcal_events/cache
GCal Events: Cache duration is 3600 seconds
GCal Events[Block 1] FeedURL
Timezone: America/Los_Angeles
GCal Events: Cache is set to sites/all/modules/gcal_events/cache
GCal Events: Cache duration is 3600 seconds
GCal Events[Block 1] FeedURL
Timezone: America/Los_Angeles
GCal Events: Cache is set to sites/all/modules/gcal_events/cache
GCal Events: Cache duration is 3600 seconds
GCal Events[Block 1] FeedURL
Timezone: America/Los_Angeles
GCal Events: Cache is set to sites/all/modules/gcal_events/cache
GCal Events: Cache duration is 3600 seconds
GCal Events[Block 1] FeedURL
GCal Events[Block 1] Feed Init took 10.036098957062 seconds
GCal Events[Block 1] cURL error 28: Operation timed out after 10006 milliseconds with 32110 bytes received

jdwfly’s picture

Status: Active » Closed (fixed)

@Whisky Finn
Try dev version of 6.x and make sure you are using the older version of SimplePie that is recommended.

Otherwise I believe that this should be closed as I'm pretty sure code in the dev version fixed this issue.