icalendar

ICalendar not readable by google calendar.

半腔热情 提交于 2019-11-28 20:58:43
Operating system : WinXP Program and version you use to access Google Calendar (FF3.5): I'm developing a script (based on an existing vCal ASP.NET class I found online) to generate an .ics file. This file works perfectly when importing to Outlook 2003. When I try to import to Google Calendar, I get the following error: Failed to import events: Unable to process your iCal/CSV file.. I don't know too much about the vCal format or syntax, but everything looks fine to me. I'll post the sample test calendar .ics below: BEGIN:VCALENDAR PRODID:-//jpalm.se//iCalendar example with ASP.NET MVC//EN

Encoding newlines in iCal files

房东的猫 提交于 2019-11-28 20:04:58
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 way you've done this that will work consistently accross calendaring systems? OK, looks like I'm

Does anyone know any gems/plugins/tutorials related to exporting events to iCal, Google Calendar, Outlook from a Rails application?

狂风中的少年 提交于 2019-11-28 19:46:39
I am trying to figure out if there is already a plug in that does the interaction with iCal, Google APIs that I can use or do I need to just get my hands dirty and write it myself. If anyone knows of good resources that I can look at that could help me with the implementation, that would be good as well. I am new to RoR and I have been trying to learn it for a while. I finally decided to just start playing with my own application rather than just following a book. Any help in this matter would be appreciated. Thanks! Check out the Google Calendar gem for rails. It lets you display a user's

Delete calendar event using iCalendar file import (Outlook 2003 problem)?

余生长醉 提交于 2019-11-28 17:57:53
Is there a way for me to delete items from calendar by using iCalendar import? I know that there is a METHOD:CANCEL, however when I tried it, it didn't do anything to the calendar event. Here is what is in my iCalendar file. When I try to import it to Outlook, it just adds these events. BEGIN:VCALENDAR VERSION:2.0 PRODID:-//DDay.iCal//NONSGML ddaysoftware.com//EN METHOD:CANCEL BEGIN:VEVENT CREATED:20081210T155315Z DESCRIPTION: DTEND:20081213T093000 DTSTAMP:20081210T155315Z DTSTART:20081213T093000 LOCATION: ORGANIZER:MAILTO:user@domain.com SEQUENCE:1 SUMMARY:From FCS 13th UID:20367b86-2123-4930

How to add event in native IOS Calendar

筅森魡賤 提交于 2019-11-28 17:40:13
I want to open native IOS calendar(ical) from my application and add event. Is there any way i can open calendar for particular event? I also follow Open iphone calendar app programmatically but not yet succeeded. See the Calendar and Reminders Programming Guide . But the basic process is: Add the EventKit.Framework and EventKitUI.Framework to your project. (See Linking to a Library or Framework .) Import the header: #import <EventKitUI/EventKitUI.h> If creating an event, you use : - (IBAction)didPressCreateEventButton:(id)sender { EKEventStore *store = [[EKEventStore alloc] init]; if([store

Create .ics file dynamically

烈酒焚心 提交于 2019-11-28 17:33:19
I made a website for a client where they can post events. Instead of manually creating .ics files from iCal for every event and uploading it, I though it would be better to pull it out of the database and automatically create a .ics file automatically with PHP. I can pull information from the database (no problem), but when converting it to a time stamp for the calendar file it a tough one. Here's what I store in the database: Month: 05 Day: 02 Year: 2011 Time: 11:30am - 1:30pm Here's the code to create my .ics files: //This is the most important coding. header("Content-Type: text/Calendar");

How to create an outlook calendar meeting request in PHP?

一世执手 提交于 2019-11-28 16:54:53
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? Artur Kędzior 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'; $participant_name_1 = 'Boushh'; $participant_email_1= 'boushh@arturito.net'; $participant_name_2 = 'Boba

HTML in iCal attachment

ぃ、小莉子 提交于 2019-11-28 16:50:57
Can an iCal attachment contain HTML in the description property? If so, what are the restrictions? After doing some research and testing. The answer is a qualified no. Meaning: you could throw it in there, but you shouldn't. It is not strictly forbidden by the RFC, but DESCRIPTION is not the appropriate property for HTML content. DESCRIPTION should be the plain text version of your content. The property X-ALT-DESC with a FMTTYPE declaration of text/html is the appropriate property for HTML content. The following example worked in both Outlook and Gmail/Google Calendar, but does not appear to

ICal import creates new calendar When Open the ics file

怎甘沉沦 提交于 2019-11-28 12:11:56
I'm working on "Add to Calendar" feature from my Sharepoint webpart (created using VS2010). I have exported the ICS file programatically with no issues. But the problem is when I try to open the ICS file from OUTLOOK. If the ICS file has single appointment, no issues.... If the ICS file has multiple appointments, the problem comes... When I do File >> Open >> Import >> Choose ics file, it works fine But If I try to just double click the ICS file, it creates a NEW calendar instead of updating my existing default calendar Any suggestions...? SliverNinja - MSFT See this SO post which suggests

How to cancel an calendar event using ics files?

蹲街弑〆低调 提交于 2019-11-28 11:18:12
One of our requirements is to create iCalendar files (.ics) and send them each in emails as an attachment. We are using DDay.Ical.dll to create ics files as under: // Create a new iCalendar iCalendar iCal = new iCalendar(); // Create the event, and add it to the iCalendar Event evt = iCal.Create<Event>(); // Set information about the event evt.Start = new iCalDateTime(SomeStartTime); evt.End = new iCalDateTime(SomeEndTime); evt.Location = "At so and so place"; evt.Description = "Some Description"; evt.Summary = "About Some Subject"; iCal.Method = "PUBLISH"; // Serialize (save) the iCalendar