谷歌日历的iCal提要 [英] google calendar iCal feed

查看:73
本文介绍了谷歌日历的iCal提要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在具有活动部分的Web门户中工作.我已经使用DDay.iCal创建了一个包含所有事件的iCal提要".是否可以链接到该供稿,并且单击该供稿后,该供稿将被自动添加到Google日历中?(类似于RSS提要,当您单击它们时,您可以选择使用google阅读器).还是应该忘记使用iCal并开始阅读有关Google API的信息?

I am working at a web portal that has a events section. I have created using DDay.iCal a iCal "feed" with all the events. Is there a possibility to make a link to this feed, and when clicked, the feed to be automaticly added to google calendar? (Something similar to RSS feeds, when you click them you can select use google reader). Or should I forget about using iCal and start reading about Google API?

推荐答案

我还没有尝试自己做同样的事情;但是,请记住,Milk似乎能够在其页面上放置一个链接,以将其日历添加到Google日历.您可以在此处看到它.

I have not tried to do the same thing myself; however, Remember the Milk seems able to put a link on their page that adds their calendar to Google Calendar. You can see it in action here.

据我所知,完成的方法是链接到 http://www.google.com/calendar/render?cid= [您的公共日历iCal feed URL] .这样,用户将被定向到Google日历,并获得了将请求的日历添加到其日历列表的选项.日历名称似乎取自日历供稿中" X-WR-CALNAME:"属性的值.

From what I can see, the way it is done is to link to http://www.google.com/calendar/render?cid=[your public calendar iCal feed URL]. This way, the user is directed to Google Calendar and is given an option to add the requested calendar to their list of calendars. It seems that the name of the calendar is taken form the value of the "X-WR-CALNAME:" attribute inside the calendar feed.

正如我所说,我尚未对此进行测试,因此通常的免责声明适用于YMMV.

As I said, I have not tested this, so usual disclaimers apply and YMMV.

这篇关于谷歌日历的iCal提要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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