icalendar

How to Specify Timezone in ics File which will work efficiently with google,outlook and apple?

≡放荡痞女 提交于 2020-03-21 11:42:41
问题 I want to generate an ics file which will be compatible with google, outlook and apple calendars. I am able to do it fine, but the problem is that I can't specify timezone block in file which will be compatible for above mentioned apps. I currently used X-Wr-timezone property which doesn't work with outlook and gives different time in google. I need the solution for this problem. My ics file: BEGIN:VCALENDA RPRODID:-//sample//sam Calendar//EN VERSION:2.0 X-MS-OLK-FORCEINSPECTOROPEN:TRUE X-WR

How to Specify Timezone in ics File which will work efficiently with google,outlook and apple?

柔情痞子 提交于 2020-03-21 11:42:14
问题 I want to generate an ics file which will be compatible with google, outlook and apple calendars. I am able to do it fine, but the problem is that I can't specify timezone block in file which will be compatible for above mentioned apps. I currently used X-Wr-timezone property which doesn't work with outlook and gives different time in google. I need the solution for this problem. My ics file: BEGIN:VCALENDA RPRODID:-//sample//sam Calendar//EN VERSION:2.0 X-MS-OLK-FORCEINSPECTOROPEN:TRUE X-WR

How to Specify Timezone in ics File which will work efficiently with google,outlook and apple?

a 夏天 提交于 2020-03-21 11:41:58
问题 I want to generate an ics file which will be compatible with google, outlook and apple calendars. I am able to do it fine, but the problem is that I can't specify timezone block in file which will be compatible for above mentioned apps. I currently used X-Wr-timezone property which doesn't work with outlook and gives different time in google. I need the solution for this problem. My ics file: BEGIN:VCALENDA RPRODID:-//sample//sam Calendar//EN VERSION:2.0 X-MS-OLK-FORCEINSPECTOROPEN:TRUE X-WR

php: writing a .ics (iCal) file? Date-formatting?

杀马特。学长 韩版系。学妹 提交于 2020-03-03 09:25:28
问题 I'm not much of a php expert and have troubles formatting the date for a .ics file. So I have a loop that generates a calendar entry for each $post (where a $post is an event in my case) foreach( $posts as $post ) : setup_postdata($post); $ical .= "BEGIN:VEVENT UID:" . md5(uniqid(mt_rand(), true)) . "mysite.com DTSTAMP:" . gmdate('Ymd').'T'. gmdate('His') . "Z DTSTART:".get_event_date($post)."00Z DTEND:".get_event_end_date($post)."00Z SUMMARY:".get_the_title($post->ID)." DESCRIPTION:".get_the

What to do when Google Calendar API sync token is invalid?

不羁岁月 提交于 2020-02-04 21:43:11
问题 In the documentation for Google Calendar API, it says this: Sometimes sync tokens are invalidated by the server, for various reasons including token expiration or changes in related ACLs. In such cases, the server will respond to an incremental request with a response code 410. This should trigger a full wipe of the client’s store and a new full sync. A lot of sync tokens in my system are being invalidated, and I don't know why. I am getting this error for a lot of calendars: (410) Sync token

How to create and send update to existing event by uisng BiWeekly library and Java Mail API?

半腔热情 提交于 2020-02-02 06:51:30
问题 I'm using BiWeekly library to create VEVENT and then send it by using Java Mail API. Everything work fine but how can I create an update for an existing event, i.e. when I receive VEVENT which is update it won't create a new event in a calendar but will update an existing event? I've tried to set sequence in the following way event.setSequence(2) , but it doesn't work. Upon receive email agent, Lotus Notes, google mail always creates new event. This is my code of creating and sending event:

PHP send multiple event requests in one email to Outlook

大憨熊 提交于 2020-01-24 22:24:10
问题 I have tried below code & was able to send multiple events in one embedded ics to google calendar. But if I open the same mail in MS Outlook 2010 only the first date is displayed in the outlook calendar. Below is my code. <?php $ical4 = 'BEGIN:VCALENDAR PRODID:-//Microsoft Corporation//Outlook 10.0 MIMEDIR//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20150310T183001Z DTEND:20150310T182959Z DTSTAMP:20150310T183000Z UID:2015-03-10_leave_24@gmail.com ORGANIZER:MAILTO

icalendar and phpmailer.php

偶尔善良 提交于 2020-01-24 18:20:07
问题 i am trying to send icalendar to the users, so that they can open these ics files in outlook and save the appointment. mailer i am using is 'phpmailer.php'. problem is that it sends ical format as html in message body. Here is my code $text=" BEGIN:VCALENDAR VERSION:1.0 BEGIN:VEVENT CATEGORIES:MEETING STATUS:TENTATIVE DTSTART:".$startDateTime." DTEND:".$endDateTime." SUMMARY:Interview for the candidate".$cname." DESCRIPTION:".$message." CLASS:PRIVATE END:VEVENT END:VCALENDAR"; $mail->SetFrom(

Mulit-Day All-Day Event

孤者浪人 提交于 2020-01-24 18:19:17
问题 I am having issues getting the right syntax for an all day event which spans multiple days. Here is my ICAL event: BEGIN:VCALENDAR VERSION:2.0 PRODID:-//http://XXX//Event METHOD:PUBLISH BEGIN:VEVENT DTSTART;TZID="America/Chicago";VALUE=DATE:20150809 DTEND;TZID="America/Chicago";VALUE=DATE:20150812 SUMMARY:Event Name DESCRIPTION:Event Description LOCATION:Event Location END:VEVENT END:VCALENDAR Shows up great in Mac Calendar: But in Outlook, it starts at 1AM and isn't marked as all day: 回答1:

ical file containing multiple events doesn't import (single event works fine)

こ雲淡風輕ζ 提交于 2020-01-16 01:06:12
问题 I am trying (and failing) to import an ics file that contains multiple events. When I include just one event the import works (I'm using iCal). As soon as a second event is there it fails. Each event is enclosed in BEGIN:VEVENT...END:VEVENT tags. Can anyone tell me what's wrong with this ics file? BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Foobar Foobar//NONSGML Foobar Foobar//EN METHOD:REQUEST BEGIN:VEVENT UID:PBSTI000000000017Z@foobar.com DTSTAMP:20111210T161211Z DTSTART:20111210T210000Z DTEND