icalendar

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

独自空忆成欢 提交于 2019-12-06 02:48:18
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: try { String from = "email@example.com"; String to = "email@example.com"; Properties prop = new

RegEx: can't figure out the expression to match lines with individual events and match only those containing certain word

╄→гoц情女王★ 提交于 2019-12-06 01:45:36
I am trying to clean up and merge some older calendar files (x.ics), using Sublime Text as editor. Opening the files gives a long file like below. I would like to delete (i.e. replace by nothing) all the entries (VEVENTs) in the file mentioning Birthday in the SUMMARY and keep all other entries, so I am using Regular Expressions as an approach. I managed to match the lines from BEGIN:VEVENT to END:VEVENT, however I can't manage to setup an expression to filter only the matches/VEVENTs with the Birthdays in it. What I have now is this expression: BEGIN:VEVENT(.|\n)*?(Birthday)(.|\n)*?END:VEVENT

Parsing iCal from Outlook: how do I tell what the recurrence schedule is for this event?

时光怂恿深爱的人放手 提交于 2019-12-05 22:50:39
I'm using Python, but I don't think that's relevant here. The iCal snippet below is from an Outlook 2010 export (full data). In Outlook, the event shows up as recurring, including an instance of the event on April 12th, 2012. If you open the series, it says recurrence: Occurs every Thursday effective 3/29/2012 from 12:00 PM to 12:30 PM My question is: is it possible to derive the recurrence schedule from the information below? Which fields will give me the information? I would expect to find an RRULE, but there's no such thing here. BEGIN:VEVENT CLASS:PUBLIC CREATED:20120312T133301Z

How can I have UIDocumentInteractionController show Calendar as an option for opening a .ics file?

杀马特。学长 韩版系。学妹 提交于 2019-12-05 22:45:02
I am intercepting a type of URL in the webview I use in my app in order to download the file that it links to instead of just trying to open it in the webview. The link is to a .ics file. So I download that file into the temporary directory and then bring up the file in a UIDocumentInteractionController instance, but Calendar is not shown as one of the apps to open that .ics file in, just Mail, DropBox and "Copy". As you can see in the commented out line in the code below I've tried making the link open with webcal:// at the front instead of http://, and also manually setting the

How do I create an Outlook “appointment” with DDay.iCal?

依然范特西╮ 提交于 2019-12-05 20:53:57
问题 I'm using the DDay library to create an iCal event, so that users of my site can add something to their calendar. I want them to add an appointment as opposed to a meeting request in Office 2010 (and hopefully others too). When I use the library and set the method to PUBLISH, it does appear as an appointment, but it reports that the meeting cannot be found in the calendar. Then when I click no response required, the item gets deleted and doesn't stay in their calendar. If I change the method

Is there any good iCal & vCal parser in php(library)?

一世执手 提交于 2019-12-05 19:35:55
I'm creating a web app that need to upload iCal or vCal files. I wonder if there is any php library that can parse the information, so I can store it on my database? that should help http://www.phpbuilder.com/columns/chow20021007.php3?print_mode=1 This seems the most complete and updated. http://kigkonsult.se/index.php It goes from parsing to generation of .ics files 来源: https://stackoverflow.com/questions/7508800/is-there-any-good-ical-vcal-parser-in-phplibrary

Export event with C# to iCalendar and vCalendar format

本秂侑毒 提交于 2019-12-05 16:46:24
I'm working on a project where we'll be supporting the ability to export an event to Outlook 2007, Outlook 2010, and iCal. I've done some research and found that iCal (to support the iCal program) and vCal (to support Outlook) are basically the same thing, from what I've seen. It appears that iCal is based on the old vCal format , so I'm trying to see what I can borrow between the two implementations to make it easier to generate .ics and .vcs files. I've found a C# implementation for a vCal file , and a C# implementation for a iCal file as well. Is there anyone out there that knows of the

How to remove unwanted WWW-Authenticate headers

南楼画角 提交于 2019-12-05 14:12:30
From an MVC app, I'm sourcing an iCal subscription with authentication following the answer to this SO question: Serving an iCalendar file in ASPNET MVC with authentication The iCal stream is being created dynamically from events in the DB using the DDay.iCal library. This solution works fine on the local development server: both OSX Calendar and Outlook can subscribe to and receive updates from the app. However, on the shared server at my web host, the authentication fails for both Calendar and Outlook. That is, they both keep asking me for user & password after the (correct) ones fail. EDIT:

How to Set a Title/Description for a Subscription Calendar (webcal:// ICS file)

天涯浪子 提交于 2019-12-05 12:14:45
I have a calendar app for which I provide subscriptions by linking client using the "webcal://" protocol. It's working quite nicely. What I'd like to know is if there is a way title it in the receiving calendar application, such as Outlook, iPhone, Google, etc? Currently, when loaded into Outlook it is displayed as the name of the web script from which it came. For instance if the script is (using ColdFusion) Create_ICS_File.cfm then Outlook shows it as "Create_ICS_File in Internet Calendars". On the iPhone it shows up in Calendar as the full web address including URL variables. For example:

Objective C- iCal not creating custom calendar and new event to it in iOS 9

故事扮演 提交于 2019-12-05 11:52:03
This working perfectly in iOS 8. But creating issue in iOS 9.Here is code : self.eventManager.eventStore requestAccessToEntityType:EKEntityTypeEvent completion:^(BOOL granted, NSError *error) { if (granted) { // Create a new calendar. EKCalendar *calendar = [EKCalendar calendarForEntityType:EKEntityTypeEvent eventStore:self.eventManager.eventStore]; // Set the calendar title. calendar.title = @"<APP name>"; calendar.CGColor=APP_Blue_COLOR.CGColor; // Find the proper source type value. for (int i=0; i<self.eventManager.eventStore.sources.count; i++) { EKSource *source = (EKSource *)[self