我想在我的网站上使用“fullcalendar”来生成公共(public)日历。
所以,我生成了一个 XML 链接:
http://www.google.com/calendar/feeds/funky-flava.com_gtuilvhr9dnft0ututonqg51b0%40group.calendar.google.com/public/basic
当我在“事件”部分初始化它时,它不起作用......
$('#calendar').fullCalendar({
events: 'http://www.google.com/calendar/feeds/funky-flava.com_gtuilvhr9dnft0ututonqg51b0%40group.calendar.google.com/public/basic'
});
准备好的链接如下所示:
http://www.google.com/calendar/feeds/funky-flava.com_gtuilvhr9dnft0ututonqg51b0%40group.calendar.google.com/public/full?alt=json-in-script&callback=jQuery18104237642253283411_1347107892685&start-min=2012-08-26T00%3A00%3A00Z&start-max=2012-10-07T00%3A00%3A00Z&singleevents=true&max-results=9999&_=1347107892732</pre></code>
最佳答案
自 11 月 17 日起,Google 已弃用其 v2 API,请参阅 http://googleappsupdates.blogspot.ca/2014/06/calendar-gdata-api-google-calendar.html
这将影响所有针对 v2 API 的应用程序(fullcalendar 目前所做的)。
关于javascript - Google 公共(public)日历链接不起作用(完整日历),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12330887/