我正在寻找一种方法来创建一个日历中的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",]
显然,我不能把它放在锚中,但就像一条线索。 谢谢大家。
答案 0 :(得分:0)
我相信您需要查看:Need good example: Google Calendar API in Javascript
然后,您可以将recurrence
密钥转换为resource
变量到链接中的示例。