views:

1696

answers:

3

Hello all,

Can anyone recommend a ready-to-use class/library compatible with C/C++/MFC/ATL that would parse iCal/vCal/Google calendar files (with recurrences)? It can be free or commercial.

Thanks in advance!

+2  A: 

there is a parser in PHP for iCal, you can downloaded and check the code to suit your language.

for vCal/vCard parsing there's a C Library.

for Google Calendar I couldn't find any exact answer, so, try to Google it.

balexandre
Thank you. The Google calendar should be just an iCal, which is basically a vCal in the end :) I'll take a look at that C library you posted a link to and see if it works.
dennisV
+2  A: 

For vCal you can try the CCard project on SourceForge: http://sourceforge.net/projects/ccard

It's a C library but it states Windows as a supported platform.

*Edit: balexandre already linked to it :)

Chris Roland
Thank you - I'll try it later tonight/tomorrow and see if it works. I only need vCal, I just hope the name "CCard" doesn't assume only vCard processing :)
dennisV
A: 

The only problem with the CCard project is that it's a generic parser (similar to what I already have implemented myself) - what would be really valuable to me is something that "understands" all varieties of recurrences and such. Those differ between vCal and iCal as well, adding to the complexity.

dennisV