IT이야기

Google 캘린더 렌더링 작업 템플릿 매개변수 문서

cyworld 2021. 9. 22. 17:37
반응형

Google 캘린더 렌더링 작업 템플릿 매개변수 문서


우리는이 사용할 수있는 링크를add a new eventGoogle Calendar의해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

그러나 이러한 매개변수에 대한 문서를 찾을 수 없습니다.

어디 있는지 아는 사람?


사용 가능한 매개변수에 대한 설명:

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

add:
    Example: add=default%40gmail.com
    Format:  add=guest email addresses

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


링크 에서 snoopy_15의 답변 에 포인트 오래된 구글 URL 현재로 연결되는 새로운 Google 지원 페이지 . 이 새 페이지는 이 질문에서 묻는 종류의 링크를 생성하는 방법을 설명하지 않습니다.

그러나, 경이로움 덕분에 인터넷 아카이브 : 뒤로 기계이전 페이지가 여전히 보관하고 사용할 수 있습니다 !

The latest available version is from March 2012, and it includes a form with a simple JavaScript code that still works! Sure, this is not an official documentation (and I'm still looking for one), and this is not even a documentation (it is an interactive form with a script), but it is the closest I could get.


These are the parameters that I use when I create these links. There are other parameters that exist, but I don't find them useful and they are optional. The details about how the dates work are particularly vexing and were never sufficiently documented by google.

  • action=TEMPLATE (required)
  • text (url encoded name of the event)
  • dates (ISO date format, startdate/enddate - must have both start and end time or it won't work. The start and end date can be the same if appropriate.)
    • to use the user's timezone: 20161208T160000/20161208T180000
    • to use global time, convert to UTC, then use 20131208T160000Z/20131208T180000Z
    • all day events, you can use 20161208/20161209 - note that the old google documentation gets it wrong. You must use the following date as the end date for a one day all day event, or +1 day to whatever you want the end date to be.
  • details (url encoded event description/details)
  • location (url encoded location of the event - make sure it's an address google maps can read easily)

You have one more param for specifying Guests

Add:
    Example: add=default%40gmail.com
    Format:  add=guest email addresses

Demo

https://productforums.google.com/forum/#!topic/calendar/Ovj6BNTQNL0

ReferenceURL : https://stackoverflow.com/questions/22757908/google-calendar-render-action-template-parameter-documentation

반응형