Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Syncing a custom made(PHP) calendar with iCal/Google calendar?

I developed a calendar on my intranet using PHP, it exports a "*.ics" file that can be imported to iCal and Google calendar. But the project sponsor requires that the calendar auto sync with iCal/Google cal, I'm not sure if it's possible, or how to do it. Can anyone point me to the right direction? Thanks!

like image 322
KoKo Avatar asked Oct 20 '22 17:10

KoKo


1 Answers

You can export google calendar content into a special XML file through a public URL. All you have to do is to periodically synchronize your calendar data with the online data.

Check this url:

Exporting google calendar

Alternatively you could check out other, already working implementations.

Here is a nice tutorial:

Goole Celendar API Guide for PHP

Also, have a look at this question:

Another Stackoverflow question in the topic

like image 166
Attila Avatar answered Oct 27 '22 10:10

Attila