top | item 25698750

(no title)

yalooze | 5 years ago

If you’re looking for an alternative approach, I built this Add To Calendar Ruby Gem[0] which generates URLs for all the common Calendar platforms. There’s also this reference repo[1] which helps explains how to build your own and lists some other libraries in various languages.

[0] https://github.com/jaredlt/add_to_calendar

[1] https://github.com/InteractionDesignFoundation/add-event-to-...

discuss

order

RyJones|5 years ago

I commented on one of your issues about all-day events; it's interesting what a hack supporting them is.

yalooze|5 years ago

Thank you! Yeah, the ics / iCalendar part of it has a spec[0] and is reasonably easy to deal with. But Google, Yahoo and Outlook Web/Office 365 all have their own take on URL construction which can be painful!

[0] https://tools.ietf.org/html/rfc5545