diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/ical/event.ics | 51 | ||||
-rw-r--r-- | samples/xml/calendar_query_single.xml | 63 |
2 files changed, 114 insertions, 0 deletions
diff --git a/samples/ical/event.ics b/samples/ical/event.ics new file mode 100644 index 0000000..c7e9c48 --- /dev/null +++ b/samples/ical/event.ics @@ -0,0 +1,51 @@ +BEGIN:VCALENDAR +PRODID:-//Google Inc//Google Calendar 70.9054//EN +VERSION:2.0 +CALSCALE:GREGORIAN +X-WR-CALNAME:calmozilla1@gmail.com +X-WR-TIMEZONE:America/Los_Angeles +BEGIN:VTIMEZONE +TZID:America/Los_Angeles +X-LIC-LOCATION:America/Los_Angeles +BEGIN:DAYLIGHT +TZOFFSETFROM:-0800 +TZOFFSETTO:-0700 +TZNAME:PDT +DTSTART:19700308T020000 +RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU +END:DAYLIGHT +BEGIN:STANDARD +TZOFFSETFROM:-0700 +TZOFFSETTO:-0800 +TZNAME:PST +DTSTART:19701101T020000 +RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU +END:STANDARD +END:VTIMEZONE +BEGIN:VEVENT +DTSTART;TZID=America/Los_Angeles:20120629T130000 +DTEND;TZID=America/Los_Angeles:20120629T140000 +DTSTAMP:20120629T112428Z +UID:0kusnhnnacaok1r02v16simh8c@google.com +CREATED:20120629T111935Z +DESCRIPTION: +LAST-MODIFIED:20120629T112428Z +LOCATION:Barcelona +SEQUENCE:0 +STATUS:CONFIRMED +SUMMARY:Demo B2G Calendar +TRANSP:OPAQUE +BEGIN:VALARM +ACTION:EMAIL +DESCRIPTION:This is an event reminder +SUMMARY:Alarm notification +ATTENDEE:mailto:calmozilla1@gmail.com +TRIGGER:-P0DT0H30M0S +END:VALARM +BEGIN:VALARM +ACTION:DISPLAY +DESCRIPTION:This is an event reminder +TRIGGER:-P0DT0H30M0S +END:VALARM +END:VEVENT +END:VCALENDAR diff --git a/samples/xml/calendar_query_single.xml b/samples/xml/calendar_query_single.xml new file mode 100644 index 0000000..9fddc81 --- /dev/null +++ b/samples/xml/calendar_query_single.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8"?> +<D:multistatus xmlns:D="DAV:"> + <D:response> + <D:href>event.ics</D:href> + <D:propstat> + <D:status>HTTP/1.1 200 OK</D:status> + <D:prop> + <D:getetag>"63475566792"</D:getetag> + <C:calendar-data xmlns:C="urn:ietf:params:xml:ns:caldav">BEGIN:VCALENDAR +PRODID:-//Google Inc//Google Calendar 70.9054//EN +VERSION:2.0 +CALSCALE:GREGORIAN +X-WR-CALNAME:calmozilla1@gmail.com +X-WR-TIMEZONE:America/Los_Angeles +BEGIN:VTIMEZONE +TZID:America/Los_Angeles +X-LIC-LOCATION:America/Los_Angeles +BEGIN:DAYLIGHT +TZOFFSETFROM:-0800 +TZOFFSETTO:-0700 +TZNAME:PDT +DTSTART:19700308T020000 +RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU +END:DAYLIGHT +BEGIN:STANDARD +TZOFFSETFROM:-0700 +TZOFFSETTO:-0800 +TZNAME:PST +DTSTART:19701101T020000 +RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU +END:STANDARD +END:VTIMEZONE +BEGIN:VEVENT +DTSTART;TZID=America/Los_Angeles:20120611T060000 +DTEND;TZID=America/Los_Angeles:20120611T070000 +DTSTAMP:20120616T215312Z +UID:haielig5qqu7mqnnrbttusghf4@google.com +CREATED:20120616T215312Z +DESCRIPTION: +LAST-MODIFIED:20120616T215312Z +LOCATION: +SEQUENCE:0 +STATUS:CONFIRMED +SUMMARY:Foo +TRANSP:OPAQUE +BEGIN:VALARM +ACTION:EMAIL +DESCRIPTION:This is an event reminder +SUMMARY:Alarm notification +ATTENDEE:mailto:calmozilla1@gmail.com +TRIGGER:-P0DT0H30M0S +END:VALARM +BEGIN:VALARM +ACTION:DISPLAY +DESCRIPTION:This is an event reminder +TRIGGER:-P0DT0H30M0S +END:VALARM +END:VEVENT +END:VCALENDAR</C:calendar-data> + </D:prop> + </D:propstat> + </D:response> +</D:multistatus> |