Google日历显示操作模板参数文档 [英] Google Calendar render action Template parameter documentation

查看:545
本文介绍了Google日历显示操作模板参数文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以使用此链接添加新活动日历参数

  https: /www.google.com/calendar/render? 
action = TEMPLATE&
text = EventName&
dates = 20131206T050000Z / 20131208T060000Z
& location = EventLocation&
sprop = name:Name&
sprop = website:EventWebite&
details = EventDetail&
sf = true&
output = xml

但我找不到任何关于这些参数的文档。 p>

有人知道它在哪里吗?

解决方案

参数:

 锚地址:
http://www.google.com/calendar/event?
这是下面的参数之前的地址的基础。



操作:
action = TEMPLATE
默认必需的参数。

src:
示例:src = default%40gmail.com
格式:src = text
这不包括在Google帮助中,但是是一个可选参数将事件添加到共享日历,而不是用户的默认。

text:
示例:text = Garden%20Waste%20Collection
格式:text = text
这是一个必需的参数,指定事件标题。

日期:
例如:dates = 20090621T063000Z / 20090621T080000Z(即2009年6月21日上午7点30分至英国夏令时(= GMT + 1)上午9点的活动)。
格式:dates = YYYYMMDDToHHMMSSZ / YYYYMMDDToHHMMSSZ
此必需参数提供事件的开始和结束日期和时间(格林威治标准时间)。

位置:
示例:location = Home
格式:location = text
明显的位置字段。

trp:
示例:trp = false
格式:trp = true / false
将事件显示为忙(true)或可用(false)

sprop:
示例:sprop = http%3A%2F%2Fwww.me.org
示例:sprop = name:Home%20Page
格式:sprop =网站和/或sprop = name:website_name

http://useroffline.blogspot.com/2009/06/making-google-calendar-link.html


We can use this link to add a new event to Google Calendar by parameters

https://www.google.com/calendar/render?
action=TEMPLATE&
text=EventName&
dates=20131206T050000Z/20131208T060000Z
&location=EventLocation&
sprop=name:Name&
sprop=website:EventWebite&
details=EventDetail&
sf=true&
output=xml

But I can't find any documentation about these parameters.

Does anyone know where's it?

解决方案

Here you can find explanation about parameters:

anchor address:
http://www.google.com/calendar/event?
This is the base of the address before the parameters below.



action:
    action=TEMPLATE
    A default required parameter.

src:
    Example: src=default%40gmail.com
    Format: src=text
    This is not covered by Google help but is an optional parameter in order to add an event to a shared calendar rather than a user's default.

text:
    Example: text=Garden%20Waste%20Collection
    Format: text=text
    This is a required parameter giving the event title.

dates:
    Example: dates=20090621T063000Z/20090621T080000Z (i.e. an event on 21 June 2009 from 7.30am to 9.0am British Summer Time (=GMT+1)).
    Format: dates=YYYYMMDDToHHMMSSZ/YYYYMMDDToHHMMSSZ
    This required parameter gives the start and end dates and times (in Greenwich Mean Time) for the event.

location:
    Example: location=Home
    Format: location=text
    The obvious location field.

trp:
    Example: trp=false
    Format: trp=true/false
    Show event as busy (true) or available (false)

sprop:
    Example: sprop=http%3A%2F%2Fwww.me.org
    Example: sprop=name:Home%20Page
    Format: sprop=website and/or sprop=name:website_name

http://useroffline.blogspot.com/2009/06/making-google-calendar-link.html

这篇关于Google日历显示操作模板参数文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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