php - 如何以 iCalendar 格式保存来自 Fullcalendar 的 JSON 事件数据

标签 php fullcalendar icalendar

我正在使用 Fullcalendar 来显示事件源并且需要实现 iCalendar 导出功能。如果我将日历事件作为 json 事件数组,是否可以将此 json 数组转换为: (1) .ics 文件或

(2) xcal 格式的 .xml 文件?

最佳答案

您是否查看过 fullcalendar 的谷歌日历插件:它提供从谷歌日历 xml 格式到 json 的导入。这可能是一个很好的倒退起点。

关于php - 如何以 iCalendar 格式保存来自 Fullcalendar 的 JSON 事件数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9917322/

相关文章:

即使 'AllowNoPassword' 设置为 true,PhpMyAdmin 仍然显示登录页面

php - Fullcalendar MySQL 插入不起作用

PHP 每月重复

类似于 iCal 的 Cocoa 弹出窗口

javascript - 错误 :Invalid login 535 5. 0.0 身份验证失败

ios - 在 iOS App 中打开 .ics 文件

javascript - 有没有一种方法可以使用网络语言根据用户名生成图像,例如iOS7收藏夹?

php - WooCommerce 存档页面产品查询上的多个 orderby 参数

php - Zend 中的 spl_autoload_register

reactjs - FullCalendar (React) - 获取当前周/月的日期