icalendar

Python solution to parse Google calendar's recurrencies

南楼画角 提交于 2019-12-21 05:44:19
问题 I'm trying to parse GCal's recurrence field. Usually, it looks like this: DTSTART;TZID=Europe/Kiev:20101111T140000 DTEND;TZID=Europe/Kiev:20101111T150000 RRULE:FREQ=DAILY;UNTIL=20101112T120000Z BEGIN:VTIMEZONE TZID:Europe/Kiev X-LIC-LOCATION:Europe/Kiev BEGIN:DAYLIGHT TZOFFSETFROM:+0200 TZOFFSETTO:+0300 TZNAME:EEST DTSTART:19700329T030000 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0300 TZOFFSETTO:+0200 TZNAME:EET DTSTART:19701025T040000 RRULE:FREQ=YEARLY

How do I set the timezone in an iCal feed using DDay.iCal?

我怕爱的太早我们不能终老 提交于 2019-12-21 05:07:48
问题 I'm creating an iCal feed using DDay.iCal. It works, but I can't figure out how to set the timezone for the feed. Here's the basic code: iCalendar iCal = new iCalendar(); // <-- Set the Timezone HERE to PST (Pacific Daylight Time) Event evt = iCal.Create<Event>(); evt.Start = new iCalDateTime(meeting.MeetDate); evt.End = evt.Start.AddHours(4); // 4 hour event evt.Description = "This meeting..."; evt.Summary = "Event Summary"; Any ideas? 回答1: In the other answer, the author fails to mention

How to send Outlook tasks requests by mail without Outlook?

佐手、 提交于 2019-12-21 05:04:08
问题 I need to replicate the Outlook feature/functionnality to send some tasks requests to someone (see here) but with mails sent from a webserver using ASP.NET C# and without Outlook installed on the webserver (thus using outlook automation is not possible). I already check what are the possiblities to do this, and it seems a common way to send tasks to someone is to generate an .ics file in iCalendar format, and include that file to the mail (see this stackoverflow question). It works great,

Add events to outlook calendar with php script

大兔子大兔子 提交于 2019-12-21 04:42:25
问题 I want to add events to my outlook calendar from the php code. As outlook can accept a file of extension ".ics", I have tried this sample code to generate an ics file: <?php header("Content-Type: text/Calendar"); header("Content-Disposition: inline; filename=calendar.ics"); echo "BEGIN:VCALENDAR\n"; echo "VERSION:2.0\n"; echo "PRODID:www.testMeiCalendar.net\n"; echo "METHOD:REQUEST\n"; // requied by Outlook echo "BEGIN:VEVENT\n"; echo "DTSTART:20101231T230000\n"; echo "DTEND:20110101T010000\n

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

ぐ巨炮叔叔 提交于 2019-12-21 02:47:35
问题 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

Swift 4.0 Eventkit Cannot get calendars and events correctly

≯℡__Kan透↙ 提交于 2019-12-20 16:25:12
问题 I'm trying to use Eventkit to access Mac Calendar. Access is successfully requested but I keep getting nil or an empty array of calendar or events, even though I have several calendars and many eventsin local calendar, iCloud calendar, and Google calendar in the app. The output I get from the following code is: On My Mac [] [] let sources = eventStore.sources for source in sources{ print(source.title) for calendar in source.calendars(for: .event){ print(calendar.title) } } let calendars =

How to add event to iCal / Outlook / gmail from webpage?

喜夏-厌秋 提交于 2019-12-20 04:11:52
问题 include a link to download an .ics / .iCal file? attach .ics file through email? How to construct the file? Where to find the spec? What're the benefits of rendering the data in hCalendar on the page? So search engine can index it somehow? Thanks 回答1: There seems to be plenty of hits for the first part of your question on Google. Also try CFLIB.org search and you can see how the function creates the text string http://www.google.co.uk/search?q=iCal+and+ColdFusion To download, write out the

How to: Update calendar events that were imported by iCalendar file? [duplicate]

心已入冬 提交于 2019-12-19 08:06:56
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: ICalendar and event updates not working in Outlook Help updating an event in Outlook 2007 with an iCalendar file How do I update calendar events that were imported by iCalendar file? I need to re-import events but I want to make sure that the existing events are updated. Currently if I do an import, it adds additional event instead of updating existing event on my Outlook calendar. BEGIN:VCALENDAR VERSION:1.0

How do I get Outlook to process an event update?

牧云@^-^@ 提交于 2019-12-19 06:45:16
问题 I am trying to create, update and delete an event in Outlook 2007 (but optimally it would work for all versions). Creating and deleting the event is working fine. I followed several threads but for some reason the update action failed. When I double click on the ICS file, Outlook opens a window and the only choice I have is to delete. But the event it wants to delete is not the old one but the new one (even if it's not created yet). So when I click delete the old event remains here. The UID

Is there any open iCalender API? [closed]

早过忘川 提交于 2019-12-19 02:38:35
问题 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 last year . Is there any API that I can use and post event data to (for example with querystrings) and get back a file that the visitor can download and add to his calender? I can of course write the script myself, but if there is a open API I could save some time. 回答1: You could use iCal4j 回答2: You asked for a webservice of