Parsing iCal/vCal/Google calendar files in C++
-
03-07-2019 - |
Question
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.
Solution
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.
OTHER TIPS
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 :)
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.