Public google calendar

How to import public google calendar from ical ???

scheduler.load("https://www.google.com/calendar/ical/publicical@gmail.com/public/basic.ics","ical");

doesn’t load ;(

Will not work because of cross-site security issue
You need to use a server side proxy script

Check
docs.dhtmlx.com/doku.php?id=dhtm … e_calendar

i fix it with php :wink:

but problem with GMT, all time event’s are on GMT+0.
how to fix time +1, +3 or +6 ???

In ical file it presents but not used in dhtmlxsheduler ???

i don’t have users passwords to gmail account, but can access to public calendar on gmail calendar

Above proxy script is necessary for two-way data sync.
If you need only read data you can have php file as

<?php echo file_get_contents("http://ical/path"); ?>

it will read data from remote server and output it to the scheduler.

As for timezones - if iCal data contains events with different timezones, there is no simple way to import it in the scheduler.