icalendar

Should I store dates or recurrence rules in my database when building a calendar app?

萝らか妹 提交于 2019-11-27 16:56:06
I am building a calendar website ( ASP.NET MVC ) application (think simple version of outlook) and i want to start supporting calendar events that are recurring (monthly, yearly, etc) right now I am storing actual dates in my but I wanted to figure out if, with recurrence, does it make sense to continue to store dates (with some obvious cutoff), or should I store the recurrence options and generate the dates on the fly. It got me thinking how outlook, google mail, etc does this or any other service that supports recurring calendar items. Are there any suggestions on this? Separate your data

ICS timezone not working

折月煮酒 提交于 2019-11-27 14:32:10
问题 I have made an ICS feed containing a long list of events. My timezone does not seem to work. In the sample below you see that my event should start 07:55:00 and end 09:30:00. This is what it should show in my calendar. Instead it shows 09:55:00 and 11:30:00 - an offset of two hours. The timezone should be set to Europe/Copenhagen but this does not have any effect. Can anyone tell me how I can achieve the right times? BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2

How to create a .ICS file with multiple VEVENTs to be imported into an existing Outlook Calendar

£可爱£侵袭症+ 提交于 2019-11-27 13:05:28
问题 I have a need to allow for a user to download an event that has multiple meeting dates. To do this I have created a memorystream to be downloaded which produces a .ics file. For example: BEGIN:VCALENDAR PRODID:-//Company//Product//EN VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT SUMMARY:Subject of Event LOCATION:Location of Event UID:1227559810-8527e2c-20847@domain.com DESCRIPTION:Some description DTEND:20081101T200000Z DTSTART:20081101T200000Z PRIORITY:3 END:VEVENT BEGIN:VEVENT ... END:VEVENT END

Add Calendar event to Android from web .vcs download

血红的双手。 提交于 2019-11-27 11:37:06
my current problem is the following; I am creating a website with two files for download( .vcs and .ics) that will add an event to the device calendar once clicked on the respective link. For the .ics in the iPhone I have no problem. My issue is that when downloading the .vcs file in Android it just opens a blank page showing the .vcs file content but is not downloading it neither recognizing the file as a calendar event. I think as per what I read before in SO (and I was searching for that thread but could not find it now to reference) that has something to do with the mime type but after

How to add event in native IOS Calendar

纵然是瞬间 提交于 2019-11-27 10:40:07
问题 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. 回答1: 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 : -

Create .ics file dynamically

随声附和 提交于 2019-11-27 10:21:15
问题 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

iCalendar “Field” list (for database schema based on iCalendar standard)

感情迁移 提交于 2019-11-27 10:06:49
my application has to deal with calendar information (incl. single occurrence, recurrence, etc.). In order to easily interface with other applications I thought that it would be a good idea to create my database schema based on the iCalendar format (fields, relationships, constraints) directly so that I get iCalendar compatible objects via ORM that I can easily expose when needed. I know that the RFC is available but it's kind of complicated because of all the additional information in it that I don't use at the moment. Could somebody point me to an easier source to create a database schema

HTML in iCal attachment

你离开我真会死。 提交于 2019-11-27 10:00:18
问题 Can an iCal attachment contain HTML in the description property? If so, what are the restrictions? 回答1: 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

When creating an iCal event on behalf of an organizer and email it to him, no “Add to calendar” or “RSVP” wrappers appear

亡梦爱人 提交于 2019-11-27 08:57:42
问题 I'm creating the iCal using ical4j and sending it using Java Mail API 1.4.7. When sending it both to google.mail and outlook.com the organizer receives the email textual part only. All other recipients receive the email wrapped with the "Add to calendar" or "RSVP" buttons (for attendees). If remove the recipient email from the organizer property, then he receives the email with the wrappers, but then the meeting has no organizer... My problem with this, is that the organizer I created the

Sent email with iCal to outlook with valarm reminder

大兔子大兔子 提交于 2019-11-27 08:42:30
问题 I am in a situation where I want to send email with iCal attachment to Outlook Calendar and I want to set reminder to 120 minutes before start event. I send RAW message with iCal(see below). If recipient opens the message, event is automatically added to outlook calendar, but reminder is set to 15 minutes(default in outlook), even if I set different value in VALARM. If I use ics file with iCal to import to Outlook Calendar then reminder is set to my value. I would really appreciate help on