douchen4915 2013-11-13 08:28
浏览 238
已采纳

日历导出(Webcal)

I would like to give users of my website the opportunity to export their calendar, but I'm not sure how to do this.

I have read about two differents way, .ics file and webcal.

.ics file, this file they have to download (does it work on mobiledevices)?

webcal, i saw on another website that I could subscribe to an url with webcal:// and then get the calendar informations. I have tried to read on it on this forum and google it, and found out that I could use a tool like http://www.davical.org/, but it seems quite hard, so I don't know if I understands it right?

I had hoped there was a way to just do it yourself in php, and then offer the users the webcal:// address, but maybe it is a way bigger task?

Edit If the users of the calendar only have to have read access when they subscribes to the webcal, can you then just do it like this? - a href="webcal://calendar.ics">webcal ics link/a?

Hopes someone can make it more clear for me:-)

Thanks, Andreas

  • 写回答

2条回答 默认 最新

  • duanci8209 2013-11-13 13:36
    关注

    It seems like that I can just make a .ics file like this in this tutorial - https://gist.github.com/jakebellacera/635416. And then i can call this .ics file like this.

    <a href="webcal://domain.com/calendar.php">calendar</a>
    

    I dont know if it's the right way to do it, but it seems like it works for me.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
  • ¥15 linux驱动,linux应用,多线程