Questions tagged [icalendar]

iCalendar is a widely-used data format for representing and exchanging calendaring and scheduling information independent of any particular calendar service or protocol.

iCalendar is a data format for representing and exchanging calendaring and scheduling information such as events, to-dos, journal entries, and free/busy information, independent of any particular calendar service or protocol.

Used and supported by many products, including , Apple's iCal and Microsoft .

2435 questions
205
votes
7 answers

How to extract a string using JavaScript Regex?

I'm trying to extract a substring from a file with JavaScript Regex. Here is a slice from the file : DATE:20091201T220000 SUMMARY:Dad's birthday the field I want to extract is "Summary". Here is the approach: extractSummary : function(iCalContent)…
PapelPincel
  • 4,255
  • 6
  • 39
  • 49
116
votes
7 answers

How can I use PHP to dynamically publish an ical file to be read by Google Calendar?

Any Google search on PHP ical just brings up phpicalendar and how to parse or read IN ical files. I just want to write a PHP file that pulls events from my database and writes them out in ical format. My problem is I can't find anywhere that will…
rhodesjason
  • 4,904
  • 9
  • 43
  • 59
107
votes
6 answers

How do I create a link to add an entry to a calendar?

I'm working for this nightclub and are currently making a website for them, they've got lots events and their site is built a lot around events, today they make an facebook event of every event but it would be killer to have a "Add to my Calendar"…
Hultner
  • 3,710
  • 5
  • 33
  • 43
79
votes
6 answers

Parsing files (ics/ icalendar) using Python

I have a .ics file in the following format. What is the best way to parse it? I need to retrieve the Summary, Description, and Time for each of the entries. BEGIN:VCALENDAR X-LOTUS-CHARSET:UTF-8 VERSION:2.0 PRODID:-//Lotus Development…
LVT
  • 791
  • 1
  • 6
  • 3
76
votes
9 answers

Creating iCal Files in c#

I'm looking for a good method of generating an iCalendar file (*.ics) in c# (asp.net). I've found a couple resources, but one thing that has been lacking is their support for quoted-printable fields - fields that have carriage returns and line…
Otto
  • 2,083
  • 3
  • 19
  • 17
64
votes
2 answers

Best iCalendar library for Java?

I'm looking for a library to handle iCalendar data in Java. Open source, well-documented implementations with a good object model are preferred. iCal parsing capabilities are less important to me, but still nice to have. Does anyone have any…
David Crow
  • 16,077
  • 8
  • 42
  • 34
60
votes
9 answers

Encoding newlines in iCal files

I'm trying to figure out how to encode newlines in the DESCRIPTION part of an iCal file in such a way that they will import properly into Outlook, Google Calendar and the Apple Calendar. The original code I inherited used "=0D=0A" with a…
Eric Petroelje
  • 59,820
  • 9
  • 127
  • 177
58
votes
5 answers

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

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?
Nakul Chaudhary
  • 25,572
  • 15
  • 44
  • 47
57
votes
3 answers

What is the difference between iCalendar and CalDav?

What is the difference between iCalendar and CalDav?
abj
  • 573
  • 1
  • 4
  • 4
43
votes
1 answer

Grouping multiple events in a single ics file (icalendar stream)

I want to group multiple events in a single ICS file(iCalendar stream) according to the RFC. This can be done but I have no idea how. Can anyone help me or give me an example ? Here is what rfc says: However, multiple iCalendar objects can be…
Federico Brubacher
  • 453
  • 1
  • 5
  • 6
42
votes
4 answers

HTML in iCal attachment

Can an iCal attachment contain HTML in the description property? If so, what are the restrictions?
catalpa
  • 1,902
  • 2
  • 15
  • 16
41
votes
2 answers

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

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 -…
salonMonsters
  • 1,237
  • 3
  • 16
  • 26
40
votes
8 answers

Single day all day appointments in .ics files

I'm creating an ics file using ASP.NET for importing holiday into Outlook 2007 and trying to set the all-day-event flag. This works fine on multi-day holidays, but for single days, it doesn't seem to be registering, I just get a 'singularity…
wefwfwefwe
  • 3,382
  • 1
  • 21
  • 24
39
votes
7 answers

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

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…
leora
  • 188,729
  • 360
  • 878
  • 1,366
38
votes
3 answers

Specifying name, description and refresh interval in iCal (ics) format

I'm creating a iCal subscription calendar which is all working as expected; except I can't seem to specify seemingly basic things such as a default name to suggest to the client for the calendar, a description, and how often it should refresh. I did…
Codecraft
  • 8,291
  • 4
  • 28
  • 45
1
2 3
99 100