icalendar

How to create “recurData” in Google Calendar?

余生长醉 提交于 2019-12-10 04:34:13
问题 I want to create recurring events of Calendar using Google API. I am following links: Google Calendar API I am not getting how to create "recurData". I can't modify String and pass it as parameter. Tried DDay.iCal Version 0.80. also. DDay.iCal There are some Example code given.I tried them. I am able to create ".ics" file. But when i pass this file content as "recurData" Getting Error : {"Execution of request failed: http://www.google.com/calendar/feeds/user@domain.com/private/full?gsessionid

How to import ical .ics file in R

纵饮孤独 提交于 2019-12-10 04:28:51
问题 I would like to import a .ics file into R, however, when I try to do so like... sneak_cal <- read.delim("iCal-TribeEvents.ics", sep = ":", header=FALSE, stringsAsFactors = FALSE, strip.white = TRUE, na.strings = "") ...I end up splitting the character strings of website (belonging to the X-ORIGINAL-URL or the UID field) too, which is undesirable ie https and //www.kicksonfire.com The ultimate goal is to get the data into a tidy format where each row represents a single VEVENT , which I think

can/should iCal property parametrs be escaped?

孤者浪人 提交于 2019-12-10 02:31:18
问题 specifically, the CN (common name) parameter, e.g. ORGANIZER;CN=John Doe,Eng:mailto:jd@some.com The RFC is vague on this, IMHO. It is very clear about property values of type TEXT, but for this parameter it just says " The parameter value is text ". Anyways, the escaping specified for TEXT type doesn't seem complete for parameter values (e.g. ':' is not escaped). thanks a lot! 回答1: Davka, Yes, parameter values can be escaped by surrounding the value in double-quotes. Parameter values must be

.ics invitation calendar not working in outlook.com issue

假装没事ソ 提交于 2019-12-10 01:28:52
问题 Hi im using cakephp email to send an email with .ics calendar attached to it the problem is that the confirmation button si shown in yahoo and gmail prefectly but not in outlook.com. here's an example of an .ics file: BEGIN:VCALENDAR VERSION:2.0 PRODID:-//T//T//EN METHOD:REQUEST BEGIN:VEVENT UID:20150830T184133-19847-domain.com DTSTAMP:20150830T184133 DTSTART:20150812T000000Z DTEND:20150818T000000Z ORGANIZER;CN=myteam:MAILTO:admin@myteam.org ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION

RRULE parsing in Postgresql

风格不统一 提交于 2019-12-09 18:47:58
问题 The goal: to generate a list of timestamps, each representing an event occurrance, from an RRULE string (i.e. FREQ=WEEKLY;INTERVAL=2;COUNT=8;WKST=SU;BYDAY=TU,TH ) and a starting timestamp. Since these times will be changed at the whim of a user, postgresql is desired for (1) it's quality of strict business logic and (2) triggers (auto-update rows when a value changes) Alternative Solution: I ended up using plpythonu (python language for postgresql). The dateutil library has a great rrule

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

混江龙づ霸主 提交于 2019-12-09 07:03:31
问题 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

Is there a Javascript iCalendar lib?

爱⌒轻易说出口 提交于 2019-12-09 04:41:07
问题 Is there an iCalendar library available for Javascript - parser or calendar object itself? 回答1: Here is another one from kewisch but still up-to-date https://github.com/mozilla-comm/ical.js/ EDIT There is also dhtmlx scheduler for showing a calendar in HTML. http://dhtmlx.com/docs/products/dhtmlxScheduler/ 回答2: https://github.com/kewisch/ical.js By the guys behind Lightning for Thunderbird. 回答3: There is also https://github.com/jakubroztocil/rrule which is more popular than the other choices

Icalendar ICS update not working in google calendar

回眸只為那壹抹淺笑 提交于 2019-12-08 19:46:04
问题 I have some trouble with the ICS attachment to Gmail/Google calendar addresses. When I have to edit an event I send an update by mail with an ICS file with the same UID of the original event. However, GCalendar adds a second event. How can I overcome this? This is first ICS file content: BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130425T090000 DTEND:20130425T100000 DTSTAMP:20130206T101100 ORGANIZER;CN=Test test:mailto:test@test.com ATTENDEE:test@test

Google Calendar API + email notification ics file

a 夏天 提交于 2019-12-08 17:54:26
I'm creating events on google calendar using the Google Calendar API, which is working fine. When I modify one of those events within Google Calendar, Google can email me an even update with an .ics file. Is there a way determine the eventid via the email or ics file, and tie it back to the eventid when i created the event using the API? For example, I want to automatically receive event change emails sent from Google Calendar, and update the event in my database (where I store the eventid returned from adding the event using the API) In the body of the email, you should have: <meta itemprop

Formatting time for ical export

随声附和 提交于 2019-12-08 17:34:22
问题 I have created a calendar in jquery that exports to ical. However, I am having some issues with the datetime. The ical export script expects the date/time in this format: 19970714T170000Z. Does anybody know what this is and how I should prepare my string? Thanks 回答1: Reading the RFC (link) gives : 3.3.5. Date-Time [...] date-time = date "T" time The "DATE-TIME" value type expresses time values in three forms: FORM #1: DATE WITH LOCAL TIME For example, the following represents January 18, 1998