我想在我的网站上使用“fullcalendar”来生成公共日历。
所以,我生成了一个 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>