Find file
Fetching contributors…
Cannot retrieve contributors at this time
73 lines (55 sloc) 2.87 KB


So say you have this event and you don't want to require folks to copy the event information into their Google Calendar by hand. So you visit this wonderful page only to copy and paste this nonsense onto your page. You then close you browser in disgust and take a shower to wash off your shame.

Instead of running up your water bill everytime you need to create one of these buttons just generate these URLs with the completely unfunny and super-seriously named GcalButton.

button ="Forever Alone",
               + 3600)
  #=> ""

You can also use Date objects for an all-day event:

button ="Forever Alone II: The Alonening",
               + 1)
  #=> ""

Do you have some idea what the mysterious 'sprop' variable is for? GcalButton can totally handle that:

button ="Forever Alone with a Vengeance",
               + 1,
                        name: "Forever Alone Inc.",
                        website: "")
  #=> ""

Do want to use Google's handy 'Add to Google Calendar' images?


Google Calendar


Remind me with Google Calendar


Add to Google Calendar


Google Calendar


  • Return some video tapes


Please allow me to take some of your time to explain scarcity and abundance.

Copying is not theft.
Stealing a thing leaves one less left.
Copying it makes one thing more; that's what copying's for.

Copying is not theft.
If I copy yours you have it too.
One for me and one for you.
That's what copies can do.

If I steal your bicycle you have to take the bus,
but if I just copy it there's one for each of us!
Making more of a thing, that is what we call "copying".
Sharing ideas with everyone--that's why copying is FUN!