从icloud以编程方式获取ics文件? [英] programmatically get ics file from icloud?

查看:160
本文介绍了从icloud以编程方式获取ics文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在为客户端运行一个过程,该过程涉及通过在ruby脚本中进行https GET调用从me.com上获取其公开可用的日历文件,然后将.ics文件中的数据转换为html,然后将其复制到他们的网站.

I've been running a process for a client that involves grabbing their publicly available calendar file from me.com by making an https GET call in a ruby script, and then converting the data in the .ics file to html, then copying it to their website.

他们最近升级到了Lion和iCloud,看来,尽管我想要的日历仍可公开使用,但仅可用于启用了webCal的应用程序使用-我无法再通过https来获取它.

They recently upgraded to Lion and iCloud, and it appears that, while the calendar I want is still publicly available, it's only usable by webCal enabled apps--I can no longer get it over https.

我在google上打了一下,但是还没有发现任何指向我正确方向的信息.有谁知道是否可以通过http/https访问iCloud上的公共日历?还是严格通过webcCl?该文档确实听起来像iCloud旨在仅在Apple设备之间共享数据.我只是被困在这里吗?

I've poked around a bit on google, but haven't see anything that points me in the right direction yet. Does anyone know if there's a way to access public calendars on iCloud via http/https? Or is it strictly via webcCl? The documentation does make it sound like iCloud is designed to only share data among Apple devices. Am I just stuck here?

推荐答案

我很惊讶没有人回答这个问题...

I'm surprised no one has answered this yet...

如果您访问iCloud.com,则应该能够使用公共共享获取已同步的日历的URL.它应该是一个webcal协议(webcal://).但是,如果将Webcal更改为https,它将下载ics格式,而不是尝试使用Macs iCalendar进行同步.

If you go to iCloud.com, you should be able to get the URL of the calendar that you have syncing using a public share. It should be a webcal protocol (webcal://). However, if you change that webcal to https, it will download the ics format instead of trying to sync using Macs iCalendar.

我的网站链接到https ics文件,并且看起来工作正常(至少现在是这样).

I have my website linking to the https ics file, and it appears to be working just fine (for now at least).

这篇关于从icloud以编程方式获取ics文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆