mysql - Exposing calendar as an iCal with subscribe option in PHP -


i have application in php each user has associated events.

what want expose events under in way similar events on facebook gives urls in format webcal://www.facebook.com/ical/b.php?uid=123456789&key=asd123asd123asd , whenever there's new event, automatically gets propagated calendar have added google calendar.

what want expose calendar on url such http://whatever.org/somelonguniqueperuseridentifier.ics.

i tried simulate event generation script simple file @ same url. ics file consumed google, events have been added, when changed file contents (deleted event) = altered resource, google calendar should subscribed, change didn't go through gcal.

as unable find reliable source of documentation, tried google lot different keywords , guided webdav servers davical, sabredav, etc.

i have installed davical on server getting state have server installed no idea how expose events mysql database on desired url, clients subscribe to.

same sabredav, except fact, haven't tried getting work, because can't see documented way of getting events out world using of dav server.

i stuck in place have working ics export in php not getting asked updates calendar clients, , running caldav server might asked clients updates, has no data return.

any thoughts?

edited question:

what right way achieve instant one-way calendar sync?

if not mistaken, seems need change link http://whatever.org/somelonguniqueperuseridentifier.ics webcal://whatever.org/somelonguniqueperuseridentifier.ics

the webcal protocol supposed trigger "subscribe" action in calendar software. if seeing download file it's not subscribing.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -