链接添加到Google日历 [英] Link to add to Google calendar
问题描述
我不清楚在网站上具有链接的确切格式,该链接会将单个事件添加到用户的Google日历中.我看到eventbrite在这里做了,但我希望有一些明确的规格或正确的链接
I am unclear about the exact format to have a link on a website that will add a single event to a users Google calendar. I see that eventbrite has done it here but I would love some clear specs or links in the right direction
http://www.eventbrite.com/event/1289487893
http://screencast.com/t/6vvh1khS
推荐答案
下面是一个示例链接,您可以用来查看格式:
Here's an example link you can use to see the format:
请注意关键查询参数:
text
dates
details
location
这是另一个示例(摘自 http: //wordpress.org/support/topic/direct-link-to-add-specific-google-calendar-event ):
Here's another example (taken from http://wordpress.org/support/topic/direct-link-to-add-specific-google-calendar-event):
<a href="http://www.google.com/calendar/render?
action=TEMPLATE
&text=[event-title]
&dates=[start-custom format='Ymd\\THi00\\Z']/[end-custom format='Ymd\\THi00\\Z']
&details=[description]
&location=[location]
&trp=false
&sprop=
&sprop=name:"
target="_blank" rel="nofollow">Add to my calendar</a>
这是一种表单,可以根据需要帮助您构建这样的链接(在前面的答案中提到):
Here's a form which will help you construct such a link if you want (mentioned in earlier answers):
https://support.google.com/calendar/answer/3033039 此链接不再为您提供可以使用的表格
这篇关于链接添加到Google日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!