Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Simple CalDAV subscription solution Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
core
Newbie
Newbie
Avatar

Joined: 29 July 2010
Location: United States
Online Status: Offline
Posts: 1
Posted: 29 July 2010 at 8:57pm | IP Logged Quote core

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 View core's Profile Search for other posts by core
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 30 July 2010 at 7:48am | IP Logged Quote Alex

Sounds interesting, thank you. We'll give it a try.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide