Google calendars publish an ical file at a location like
http://www.google.com/calendar/ical/toto52eca5g28rlgusmoou6lnc@group.calendar.google.com/public/basic
(actual public sample)
PHP iCalendar won't read display them. They don't have
an "ics" extention... maybe other factors too.
Thanks.
Logged In: YES
user_id=97620
Additionally, if you get them onto your server (like a
cronjob download) there are a few lines in the ics files
that throw PHPiC for a loop.
...
DTSTAMP:20060421T052213Z
ORGANIZER;CN=My Calendar
Title:MAILTO:vq5rpqr82h8cqo48kifg67vve0@group.calend
ar.google.com
UID:c33m8tp952bq09j2g7ecaishd8@google.com
CLASS:PUBLIC
CREATED:20060421T035200Z
...
In event.php you get stuff like:
<b>Organizer:</b> My Calendar Title
<b>Attendee:</b>
ATTENDEE;CUTYPE=GROUP;ROLE=REQ-PARTICIPANT;PARTSTAT=ORGANIZER;CN=Western
College;X-NUM-GUESTS=0
<b>Status:</b> CONFIRMED
Logged In: YES
user_id=97620
make that ics snippet:
newlines are original
...
DTSTAMP:20060421T053109Z
ORGANIZER;CN=Western
College:MAILTO:vq5rpqr82h8cqo48kifg67vve0@group.calend
ar.google.com
UID:ma8vipka1vjl1s4v6jhe3bd9k8@google.com
ATTENDEE;CUTYPE=GROUP;ROLE=REQ-PARTICIPANT;PARTSTAT=ORGANIZER;CN=Western
Co
llege;X-NUM-GUESTS=0:MAILTO:vq5rpqr82h8cqo48kifg67vve0@group.calendar.googl
e.com
CLASS:PUBLIC
CREATED:20060421T044104Z
...
Logged In: YES
user_id=1313425
I have this working on my site, so I don't think
PHPiCalendar requires the .ics extension.
In my case the problem was that PHPiCalendar is using
fopen() to access iCal URLs -- and my ISP forbids this.
Most do. It is a serious security concern, apparently. I
wonder if this vulnerability has anything to do with the 404
outage at phpicalendar.net?
I've hacked a curl workaround that I will describe in a
separate post. But I think you will find that fopen() use
is your problem and not the lack of an extension.
Logged In: YES
user_id=975324
Google now has .ics extensions. And the remote open wasn't what caused the
outage...it was a different app that had a backdoor.