Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add diner registration to own calendar #19

Open
Kipjr opened this issue Nov 3, 2018 · 0 comments
Open

Add diner registration to own calendar #19

Kipjr opened this issue Nov 3, 2018 · 0 comments

Comments

@Kipjr
Copy link
Member

Kipjr commented Nov 3, 2018

Oi, ideetje. Ik eet vandaag mee en zet in mijn agenda ;)

Update Feb 2018:
Here's a new link structure that seems to support the new google version of google calendar w/o requiring API interaction:

https://calendar.google.com/calendar/r/eventedit?text=My+Custom+Event&dates=20180512T230000Z/20180513T030000Z&details=For+details,+link+here:+https://example.com/tickets-43251101208&location=Garage+Boston+-+20+Linden+Street+-+Allston,+MA+02134

New base url: https://calendar.google.com/calendar/r/eventedit

New parameters:

text (name of the event)
dates (ISO date format, startdate/enddate - must have both start and end time)
an event w/ start/end times: 20131208T160000/20131208T180000
all day events, you can use 20131208/20131209 - end date must be +1 day to whatever you want the end date to be.
ctz (timezone such as America/New_York - leave blank to use the user's default timezone. Highly recommended to include this in almost all situations. For example, a reminder for a video conference: if three people in different timezones clicked this link and set a reminder for their "own" Tuesday at 10:00am, this would not work out well.)
details (url encoded event description/details)
location (url encoded location of the event - make sure it's an address google maps can read easily)
Notes:

the old url structure above now redirects here
supports https
deals w/ timezones better
accepts + for space in addition to %20 (urlencode vs rawurlencode in php - both work)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants