链接添加到Google日历 [英] Link to add to Google calendar

查看:231
本文介绍了链接添加到Google日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不清楚在网站上具有链接的确切格式,该链接会将单个事件添加到用户的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:

://www.google.com/calendar/render?action = TEMPLATE& text = Your + Event + Name& dates = 20140127T224000Z/20140320T221500Z&details = For + details,+ link +此处:+ http://www.example .com& location = Waldorf + Astoria,+ 301 + Park + Ave +,+ New + York,+ NY + 10022& sf = true& output = xml

请注意关键查询参数:

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆