3 ms·
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
by yalooze 6y 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 https://github.com/jaredlt/add_to_calendar
[1] https://github.com/InteractionDesignFoundation/add-event-to-calendar-docs https://github.com/InteractionDesignFoundation/add-event-to-...
- cpursley 6y agoThis looks really useful. Any similar Libs. For Elixir or Javascript?
- yalooze 6y agoThe second link I mention has some JavaScript implementations, although I have not used them myself. https://github.com/InteractionDesignFoundation/add-event-to-calendar-docs https://github.com/InteractionDesignFoundation/add-event-to-...
- RyJones 6y agoI commented on one of your issues about all-day events; it's interesting what a hack supporting them is.
- yalooze 6y agoThank 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 https://tools.ietf.org/html/rfc5545