icalendar

Open .ics file in iOS App

烈酒焚心 提交于 2019-11-30 16:11:15
I need to open a .ics file in my app. I tried to open it like this: NSURL *path = [[NSBundle mainBundle] URLForResource:@"myIcsName" withExtension:@"ics"]; [[UIApplication sharedApplication] openURL:path]; But nothing is happening. How do I open the .ics file? I just used the following code: - (IBAction)displayICS:(id)sender { NSString *path = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"ics"]; NSURL *url = [NSURL fileURLWithPath:path]; UIDocumentInteractionController *dc = [UIDocumentInteractionController interactionControllerWithURL:url]; dc.delegate = self; [dc

Update attendees when editing a Google calendar event with Google apps script

霸气de小男生 提交于 2019-11-30 15:55:09
问题 Situation I have a calendar with a lot of events on it (staff appraisals). I've made a load of modifications (changing the length of the event etc.) but the invitations are going to people who have a lotus notes calendar (poor people). This means that unless I trigger what would be called "Send notification?" in the click-with-your-mouse version of things, they have no way of knowing that the event has been updated. (Similar Q) In this example, the event I'm trying to trigger is the same one

Import iCal (ics) with fullcalendar?

为君一笑 提交于 2019-11-30 12:36:47
What would need to be done in order to load .ics files with fullcalendar? I cannot use php or .net unfortunately. what you would need is to write your own extension to fullcalendar (similar to the gcal.js which is provided with fullcalendar) something you could call ical.js You should know that writting an complete ical parser can be quite draining so you may want to consider sticking with google calendar for your back-end unless you have a compeling reason. Should you go down the road of developping your own extension for fullcalendar you may want to have a look at an existing jquery ical

Set Update Limits on iCalendar Feed

▼魔方 西西 提交于 2019-11-30 11:18:29
I have a calendar feed (.ics) available from my application, but it's quite large since it includes over 4,000 events. Is there a standard or best practice when it comes to specifying how many events get downloaded or how far back or forward the calendar should go? My main question though, is how to configure or set an update limit on the calendar so say a user is subscribing to the calendar using Outlook that it's only updated every few hours. I currently have my feed cached for a few hours, but if I could have Outlook or whatever client the user is using only check for updates every few

Send meeting invitation mail over Google app engine

本小妞迷上赌 提交于 2019-11-30 08:54:00
问题 i want to send iCalendar meeting invitations. I am using Google App engine, Java. I managed to send a mail with an iCalendar file as an attachment, but programs like Outlook do not automatically recognize it as a meeting invitation. I figure, i have to set the content-type of the attachment to: "text/calendar; method=REQUEST", but it seems to me, GAE is not accepting this? Update : I was wrong above. I actually found, that i have to send the mail with the iCalendar part directly in the

Encoding newlines in iCal files

南笙酒味 提交于 2019-11-30 06:35:00
问题 I'm trying to figure out how to encode newlines in the DESCRIPTION part of an iCal file in such a way that they will import properly into Outlook, Google Calendar and the Apple Calendar. The original code I inherited used "=0D=0A" with a quoted-printable encoding, which works great in Outlook, but not in Google Calendar. The spec seems to say you should use "\n" to represent a newline. This works great in Google Calendar, but Outlook just puts the literal "\n" characters in there. Is there a

How to create an outlook calendar meeting request in PHP?

我们两清 提交于 2019-11-30 06:17:21
问题 Can someone point me in the right direction? I know it has to do with attaching a .ics file, but I can only get it to the point where a user can download and then import the event into their outlook calendar? How can I programmatically create these meeting requests? 回答1: Here is working example with multiple participants: <?php $to = 'boushh@arturito.net,bobafett@arturito.net'; $subject = "Millennium Falcon"; $organizer = 'Darth Vader'; $organizer_email = 'darthvader@arturito.net';

Ical VALARM not registrering

主宰稳场 提交于 2019-11-30 05:14:38
I've used the last couple of days creating an application that constructs an .ics file (ical) It's coded in php, and the base functions work fine (timezones, Vevent's, and so on) but when i add VALARM's into those VEVENT's neither google calendar, nor Outlook 2010 add's the nofifications to their calendar's a snippet of the ics file: BEGIN:VEVENT UID:f2f5672145d92702c71504ceccf77167@dyndns.org DTSTAMP:20120420T174122Z DTSTART;TZID=Europe/Berlin:20120416T081000 DTEND;TZID=Europe/Berlin:20120416T091000 LOCATION:A102 - Teori Frh. SUMMARY:Hold: 2.B Kemi B DESCRIPTION:Lærer: Jeppe Byrialsen Jensen

Parse VCALENDAR (ics) with Objective-C

谁说我不能喝 提交于 2019-11-30 02:32:16
I'm looking for an easy way to parse VCALENDAR data with objective-c. Specifically all I am concerned with is the FREEBUSY data (See below): BEGIN:VCALENDAR VERSION:2.0 METHOD:REPLY PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN BEGIN:VFREEBUSY UID:XYZ-DONT-CARE DTSTART:20090605T070000Z DTEND:20090606T070000Z ATTENDEE:/principals/__uids__/ABC1234-53D8-4079-8392-01274F97F5E1/ DTSTAMP:20090605T075430Z FREEBUSY;FBTYPE=BUSY:20090605T170000Z/20090605T200000Z,20090605T223000Z/20 090606T003000Z FREEBUSY;FBTYPE=BUSY-UNAVAILABLE:20090605T070000Z/20090605T150000Z,2009060 6T010000Z/20090606T070000Z

Open .ics file in iOS App

自古美人都是妖i 提交于 2019-11-29 23:31:28
问题 I need to open a .ics file in my app. I tried to open it like this: NSURL *path = [[NSBundle mainBundle] URLForResource:@"myIcsName" withExtension:@"ics"]; [[UIApplication sharedApplication] openURL:path]; But nothing is happening. How do I open the .ics file? 回答1: I just used the following code: - (IBAction)displayICS:(id)sender { NSString *path = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"ics"]; NSURL *url = [NSURL fileURLWithPath:path]; UIDocumentInteractionController *dc =