Re: [Davmail-users] Syncing an ICS file with Exchange through WebDAV, using PHP?
Brought to you by:
mguessan
|
From: Mickaël G. <mgu...@fr...> - 2010-04-14 22:31:35
|
> Sujet: > Syncing an ICS file with Exchange through WebDAV, using PHP? > De : > "Ezra Free - WebSight Designs" <ez...@we...> > Date : > Mon, 12 Apr 2010 20:04:56 -0400 > > Pour : > <dav...@li...> > > > Hello, > > I have altered one of the examples found on this site: > http://www.troywolf.com/articles/php/exchange_webdav_examples.php > > And I am now able to pull tasks from MS Exchange and output an ICS file. > > From what I am reading in the WebDAV docs, it seems I could update the > tasks in Exchange using PROPPATCH > > I'm not sure if there's an easier way or not, but from what I can tell I > would need to parse the ICS file, and for each VTODO entry I would have > to use PROPPATCH to create/update it. Then I would have to pull all the > Tasks from Exchange and check for any which do not exist in the ICS file > so I could delete them from Exchange. > > Does all of this seem sane? Am I missing anything important I'm not > considering? > > If anyone cares to see it here is the code I've got so far: > http://www.websightdesigns.com/tutorials/exchange-tasks-to-ics-calendar/ > > Ezra PROPPATCH is definitely the right to update objects over WebDav. You will need to create the PROPPATCH body to create an event, but how will you build the event URL ? Another issue: the timezone is hardwired in your code. -- Mickael Guessant Technical Architect http://mguessan.free.fr mailto:mgu...@fr... |