Author |
|
core Newbie
Joined: 29 July 2010 Location: United States
Online Status: Offline Posts: 1
|
Posted: 29 July 2010 at 8:57pm | IP Logged
|
|
|
Here is a real simple way to add CalDAV support for your calendars. This will allow read only calendar
subscriptions for iPhone, iCal, Google calendar and other CalDAV applications. I am sure there is a better way to
do this but here is my solution:
1. Create a directory in your HTTP root. I named this directory "calsync".
2. Share your calendar out under "Share and Publish"
3. Check off "Export to iCalendar" and copy the link
4. Create a crontab to kick off every 3 minutes with this command:
wget -q -O /var/www/httpdocs/calsync/webcal.ics http://your-domain/go.php?ical=Qke269Li > /dev/null
Note: You will need to modify this command for your setup. Here are some tips:
The part "/var/www/httpdocs/calsync/webcal.ics" will have to be modified to the path of your "calsync" folder.
Also the "webcal.ics" can be changed if you have multiple calendars to publish.
The part "http://your-domain/go.php?ical=Qke269Li" needs to be changed to your link in the "Share and Publish"
dialog box.
Now all you need to do is subscribe to the URL "HTTP://www.your-domain.com/calsync/webcal.ics" on your
smartphone or desktop application.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 30 July 2010 at 7:48am | IP Logged
|
|
|
Sounds interesting, thank you. We'll give it a try.
Regards,
Alex
|
Back to Top |
|
|