caldav

Reading Apple/iCloud calendar data using PHP/CalDAV

删除回忆录丶 提交于 2019-12-03 03:50:46
I'm attempting to quickly find free/busy time by fetching the calendar events for an iCloud calendar via CalDAV. I'm able to get the available calendars, and according to documentation here or using the DAViCal client library fetching the calendar information for a given date range should be as simple as sending this REPORT xml request to a calendar URL (ie. https://caldav.icloud.com/..userid../calendars/work/ ): <c:calendar-query xmlns:d="DAV:" xmlns:c="urn:ietf:params:xml:ns:caldav"> <d:prop> <d:getetag /> <c:calendar-data /> </d:prop> <c:filter> <c:comp-filter name="VCALENDAR"> <C:comp

Expanding recurring events in CalDAV

﹥>﹥吖頭↗ 提交于 2019-12-02 12:11:39
问题 Suppose a CalDAV client is really dumb (deeply embedded) and unable to calculate recurring events by itself. It is, however capable of putting in CalDAV requests. Suppose a CalDAV calendar has birthdays stored. One such birthday is on 2000-12-31. Now the client wants to receive all birthdays between 2005-05-05 and 2008-05-05. The only way I can get Radicale to respond to such a request gives as an answer one entry, DTSTART = 2000-12-31 and the RRULE property set. However, I would wish to

What's the difference between Webcal and WebDAV/CalDAV?

萝らか妹 提交于 2019-11-29 20:56:37
问题 As I understand it, CalDAV is an extension to WebDAV to manage iCalendar subscriptions. And Webcal is a URL scheme that does the same thing, but not standarized. I'm I right here? Whats the pros/cons for going either way? 回答1: All what Julian said, but presumably the real question is about the difference between plain iCalendar-over-HTTP (commonly called webcal, 'iCalendar subscription' or 'subscribed calendar') and CalDAV. Or in other words: what does CalDAV add. Simply put: in iCoHTTP you

Creating New Event to iCloud Apple Calendar always Results 400 Bad Request

回眸只為那壹抹淺笑 提交于 2019-11-29 17:14:48
Currently, I am developing a website which will sync data from Apple Calendar to my app and vice versa. For fetching data from Apple Calendar to my application, I already can get the .ics files from iCloud calendar and it works just fine. However, I have an issue when creating new Event in Apple Calendar. Somehow, every request that I send results 400 Bad Request . Here is the detail of the request: Header: If-None-Match: * Method: PUT Uri destination: https://p46-caldav.icloud.com/[USER_ID]/calendars/work/dfsfsdfsfsfsfsdfsdfsdf.ics Content type: text/calendar Apple Id and App Specific

Make exception event from original recurring event?

好久不见. 提交于 2019-11-29 05:12:17
I found that Events.CONTENT_EXCEPTION_URI ( here ) used for make recurring event. It's hardly to find document or code example from internet. So I try many ways 1 Insert as SyncAdapter ContentValues values = new ContentValues(); values.put(Events.ORIGINAL_INSTANCE_TIME, CaldavGlobalVar.getCurrentTime_()); values.put(Events.SELF_ATTENDEE_STATUS, status); if(!username.equals("")){ values.put(Events.ORGANIZER, username); } if(event.getSummarry()!=null){ values.put(Events.TITLE, event.getSummarry()); } if(event.getDescription()!=null){ values.put(Events.DESCRIPTION, event.getDescription()); } if