icalendar

How to use NSScanner to parse .ics file

﹥>﹥吖頭↗ 提交于 2019-12-03 08:52:51
Could someone please show how i could parse a ics file using NSScanner? (Iphone App) e.g: if the .ics file was at this URL http://www.ibz.com/data/12345.ics (not a real URL!!!) How would i firstly save the .ics file into my iphone app and then secondly how would i parse the .ics file using NSScanner?? Please provide code examples.. Code examples to do this completely and well would be quite extensive, and SO isn't the place for large sample applications. With that in mind, the general solutions would be: Use a NSURLRequest and NSURLConnection to get an HTTP connection to download the file;

Sync multiple iCalendars (Airbnb, Flipkey, Google Calendar, etc)

拈花ヽ惹草 提交于 2019-12-03 08:52:06
I'm developing a website for apartments rental. I'm using a wordpress hotel theme that I tweaked so instead of "rooms" it uses "flats" and a booking plug-in. Each of this flats are also advertised in Airbnb and FlipKey. What I need is to able to sync all the calendars so if, for instance, someone books the flat in Airbnb, that flat is automatically marked as "non available" in both the website and Flipkey. This is done using feeds .ics that are provided by both companies. There is an output feed and an input feed for both, so if I paste the output in the input of the other and vice versa, the

c# regex parse file in ical format and populate object with results

风流意气都作罢 提交于 2019-12-03 08:51:47
I'm trying to parse a file that has the following format: BEGIN:VEVENT CREATED:20120504T163940Z DTEND;TZID=America/Chicago:20120504T130000 DTSTAMP:20120504T164000Z DTSTART;TZID=America/Chicago:20120504T120000 LAST-MODIFIED:20120504T163940Z SEQUENCE:0 SUMMARY:Test 1 TRANSP:OPAQUE UID:21F61281-FB76-467F-A2CC-A666688BD9B5 X-RADICALE-NAME:21F61281-FB76-467F-A2CC-A666688BD9B5.ics END:VEVENT I need to take the values found after the colon or semi colon on each line and put them into props in an object. I'm attempting to do this with Regex, but I basically forget everything I know about Regex after I

Replace Existing Outlook Calendar Appointment

删除回忆录丶 提交于 2019-12-03 08:51:34
问题 I'm doing some work with an icalndar appointment generation; this would allow a delegate to view an event's website and click on a link provided to add an appointment to their calendar. I have a working assembly that will generate an ics formatted output (as either a physical file or a Stream) based on a known set of information (start date, end date, title etc.). An example of the output I generate for a calendar appointment is the following: BEGIN:VCALENDAR PRODID:-//Microsoft Corporation/

webcal:// support on Android not working - is there a supported calendar feed alternative [closed]

夙愿已清 提交于 2019-12-03 04:08:17
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . We offer our clients the ability to subscribe to an iCalendar/VCalendar feed on their devices using a webcal:// link We have a nice simple button that says "subscribe to this calendar", they click on it and their calendar app sucks in the data - voila. This works great on most devices, but we've found it fails

UIDocumentInteractionController unable to add ics file to calendar

ε祈祈猫儿з 提交于 2019-12-03 03:57:39
I am trying to open an ics ( Calendar ) file within my iOS application . For debug purposes i have added a ics file to my bundle of a calendar event created within iCal. I am using UIDocumentInteractionController to present the data of the calendar invite with the hope of letting the user add it to their calendar. However on presenting the UIDocumentInteractionController with in ics as the source file, it correctly shows all the data related to the event, however the button 'add to calendar ' is replaced with ' This invitation data is out of date ' If i use the share option to send the file

How can I add an ICS meeting automatically to the Organizer's calendar?

元气小坏坏 提交于 2019-12-03 03:13:11
Our java application generates ICalendar files using ical4j, and sends them out to users as part of an HTML e-mail notification. A couple of users (the Organizers of the meeting) report that the the "Accept", "Reject", etc. buttons for the meeting are grayed out, and unclickable. The meeting is not added to the Organizer's calendar. How can I force the meeting to be added for the Organizer? I configured the server temporarily to send the .ics file as an attachment (instead of inline), so that I could run it through a web-based ICalendar validator. The validator gave me a warning that the

Difference between iCalendar (.ics) and the vCalendar (.vcs)

人走茶凉 提交于 2019-12-03 02:57:39
问题 I want to send booking information through mail in an attachment to add in MS Outlook. Which format is better? Especially for MS Outlook 2003? 回答1: iCalendar was based on a vCalendar and Outlook 2007 handles both formats well so it doesn't really matters which one you choose. I'm not sure if this stands for Outlook 2003. I guess you should give it a try. Outlook's default calendar format is iCalendar ( *.ics ) 回答2: Both .ics and .vcs files are in ASCII. If you use "Save As" option to save a

webcal:// support on Android not working - is there a supported calendar feed alternative [closed]

大城市里の小女人 提交于 2019-12-02 17:28:32
We offer our clients the ability to subscribe to an iCalendar/VCalendar feed on their devices using a webcal:// link We have a nice simple button that says "subscribe to this calendar", they click on it and their calendar app sucks in the data - voila. This works great on most devices, but we've found it fails miserably on android devices. On the default Android browser it gives a "Webpage not available" error which doesn't help our users. On Chrome on Android it doesn't do anything when they click on the button, it just sits there and if I paste the webcal:// link into Chrome's address bar it

ics not updating organizer calendar

强颜欢笑 提交于 2019-12-02 11:57:57
I am writing an application that will send out .ics files to be interpreted mainly by outlook. When my applications sends an update, it will successfully update everyone's calendar except for the organizer's calendar. I'm using the same UID and I'm incrementing SEQUENCE each time. Is there anything else that I'm missing in my ICS file or does it not update my calendar because I am the organizer? Below is an example of the ics code that we're using: BEGIN:VCALENDAR PRODID:-//Microsoft Corporation//Outlook 16.0 MIMEDIR//EN VERSION:2.0 METHOD:REQUEST X-MS-OLK-FORCEINSPECTOROPEN:TRUE BEGIN