Link to add to Google Calendar

It’s not clear to me in what format the link to the website will be placed, which will add one event to the calendar of Google users. I see that eventbrite did it here, but I would like to get clear specifications or links in the right direction

http://www.eventbrite.com/event/1289487893

http://screencast.com/t/6vvh1khS

+88
google-calendar google-calendar-api
May 7 '12 at 20:41
source share
2 answers

Here is an example of a link that you can use to view the format:

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

Pay attention to the key request parameters:

text dates details location 

Here is another example (taken from http://wordpress.org/support/topic/direct-link-to-add-specific-google-calendar-event ):

 <a href="http://www.google.com/calendar/event? 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 is a form that will help you build such a link if you want (mentioned in earlier answers):

https://support.google.com/calendar/answer/3033039 Edit: this link no longer gives you a form that you can use

+184
Feb 09 '14 at 0:28
source share

There is an extensive document for Google Calendar and other calendar services: https://github.com/InteractionDesignFoundation/add-event-to-calendar-docs/blob/master/services/google.md

Example working link: https://calendar.google.com/calendar/render?action=TEMPLATE&text=Bithday&dates=20201231T193000Z/20201231T223000Z&details=With%20clowns%20and%20stuff&location=North%20Pole

0
Jan 13 '19 at 22:15
source share



All Articles