使用HTML创建循环日历事件

时间:2017-05-02 15:04:27

标签: html http google-calendar-api

我正在寻找一种方法来创建一个日历中的reccurent事件,并在一个锚点html的元素中使用http请求。我在其他问题上看到了这种方法,它的工作原理是:

<a href="http://www.google.com/calendar/event?action=TEMPLATE&text=Example%20Event&dates=20131124T010000Z/20131124T020000Z&details=Event%20Details%20Here&location=123%20Main%20St%2C%20Example%2C%20NY">Add to gCal</a>

然后,我查看了Google API,并找到了这个:

"recurrence": [
"RRULE:FREQ=WEEKLY;UNTIL=20110701T170000Z",]

显然,我不能把它放在锚中,但就像一条线索。 谢谢大家。

1 个答案:

答案 0 :(得分:0)

我相信您需要查看:Need good example: Google Calendar API in Javascript

然后,您可以将recurrence密钥转换为resource变量到链接中的示例。