在 C++ 中解析 iCal/vCal/Google 日历文件

发布于 2024-07-07 10:37:25 字数 85 浏览 5 评论 0原文

谁能推荐一个与 C/C++/MFC/ATL 兼容的现成类/库,可以解析 iCal/vCal/Google 日历文件(带有重复)? 它可以是免费的或商业的。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

-柠檬树下少年和吉他 2024-07-14 10:37:25

有一个iCal PHP解析器,您可以下载并检查代码以适合您的语言。

对于 vCal/vCard 解析有一个 C 库

对于谷歌日历我找不到任何确切的答案,所以,尝试谷歌它。

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.

马蹄踏│碎落叶 2024-07-14 10:37:25

对于 vCal,您可以尝试 SourceForge 上的 CCard 项目:
http://sourceforge.net/projects/ccard

它是一个 C 库,但它声明 Windows 是受支持的平台。

*编辑:balexandre 已经链接到它:)

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 :)

初见 2024-07-14 10:37:25

CCard 项目的唯一问题是它是一个通用解析器(类似于我自己已经实现的解析器)——对我来说真正有价值的是“理解”各种递归等的东西。 vCal 和 iCal 之间也存在差异,从而增加了复杂性。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文