Thanks Ryan thats cleared things up a bit. This has been quite a task getting recurrence working with my sync code. Thanks for all your help. Hope this thread will be a good help to a few other people as well. I actually got my recurring appointments syncing pretty well now with exceptions. The one problem I have left I have done a bit of a work around.
When I sync exceptions I use the full feed from Google. As you said this doesn't contain the exceptions list for recurrence. Instead I search all the regular appointments and find the original ID fields that match a recurrence appointment and build up my own exception list from their date time values. When I sync back recurring appointments into Google these appointments data just has a ExDates list. I add that into the recurrence rule in Google appointment as follows: RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20061204T235959 EXDATES:20061128T170000Z,20061129T170000Z,20061201T170000Z,20061202T170000Z However this caused a problem as exception appointments were disappearing during the sync. So i took this out and currently don't sync any changes to recurrence exceptions. So the question is can I have exception appointments with Original ID's and also store ExDates in the recurrence at the same time or do they sort of cancel each other out?? If thats the case, given a list of ExDates how can I create my own Exception Appointments with original ID's and be able to tell which exceptions are deleted and should have a Status of "canceled" and ones that were just changed that should be set to "confirmed". I'm having a good think about how to do this so any tips would be handy. Have a good one, Matthew http://www.Toffa.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
