Posted by antonioj.alvarez on October 4, 2009 at 10:00am
Jump to:
| Project: | GCal Events |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
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);
...............
#2
Thanks.
Very Good your reply.
Antonio j. Alvarez
http://www.ceplinares.org