README.md in add_to_calendar-0.2.4 vs README.md in add_to_calendar-0.2.5

- old
+ new

@@ -1,8 +1,8 @@ # AddToCalendar -A ruby gem to generate 'Add To Calendar' URLs for Apple, Google, Office 365, Outlook, Outlook.com and Yahoo calendars. +A ruby gem to generate 'Add To Calendar' URLs for Android, Apple, Google, Office 365, Outlook, Outlook.com and Yahoo calendars. If this gem brings you some value feel free to buy me a coffee :) [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/P5P71PK9T) ## Installation @@ -50,27 +50,22 @@ # ical provides a data-uri which will download a properly formatted *.ics file (see 'Creating HTML links' section) @cal.ical_url #=> "data:text/calendar;charset=utf8,BEGIN:VCALENDAR%0AVERSION:2.0%0ABEGIN:VEVENT%0ADTSTART:20201212T133000Z%0ADTEND:20201212T143000Z%0ASUMMARY:Christmas%20party%21%0AUID:-20201212T133000Z-Christmas%20party%21%0AEND:VEVENT%0AEND:VCALENDAR" -# apple_url and outlook_url are simply helper methods that call ical_url -@cal.apple_url -#=> "data:text/calendar;charset=utf8,BEGIN:VCALENDAR%0AVERSION:2.0%0ABEGIN:VEVENT%0ADTSTART:20201212T133000Z%0ADTEND:20201212T143000Z%0ASUMMARY:Christmas%20party%21%0AUID:-20201212T133000Z-Christmas%20party%21%0AEND:VEVENT%0AEND:VCALENDAR" - -@cal.outlook_url -#=> "data:text/calendar;charset=utf8,BEGIN:VCALENDAR%0AVERSION:2.0%0ABEGIN:VEVENT%0ADTSTART:20201212T133000Z%0ADTEND:20201212T143000Z%0ASUMMARY:Christmas%20party%21%0AUID:-20201212T133000Z-Christmas%20party%21%0AEND:VEVENT%0AEND:VCALENDAR" +# android_url, apple_url and outlook_url are simply helper methods that call ical_url and return the same string. ``` ### Creating HTML links ```erb <!-- Simply pass the url into the href Eg. in ERB --> <a href="<%= @cal.google_url %>">Add to Google Calendar</a> <a href="<%= @cal.yahoo_url %>">Add to Yahoo Calendar</a> -<!-- for ical_url, apple_url and outlook_url you can set the filename like so --> +<!-- for ical_url, android_url, apple_url and outlook_url you can set the filename like so --> <a download="calendar-event.ics" href="<%= @cal.ical_url %>">Download iCal</a> ``` ### Event attributes @@ -107,10 +102,11 @@ - Eg. London event @ `2020-05-13 13:30:00` will save in a New Yorker's calendar as local time `2020-05-13 17:30:00` ### Browser support - IE11 and lower will not work for `ical_url`, `apple_url` and `outlook_url` (IE does not properly support [data-uri links](https://caniuse.com/#feat=datauri). See [#16](https://github.com/jaredlt/add_to_calendar/issues/16)). -- IE11 will also not work with `Yahoo`, but this is because Yahoo only offers a simplified interface for IE11 which does not work with the add event URL. +- IE11 will also not work with `Yahoo`, but this is because Yahoo is deprecating IE 11 support and only offers a simplified interface which does not work with the add event URL. +- `Office 365` and `Outlook.com` do not work on mobile. This seems to be an issue on Microsoft's side. Their mobile web interface does not support the 'create event' URLs and the links do not open the apps if you have them installed. ### More details - Read the [Wiki](https://github.com/jaredlt/add_to_calendar/wiki) for more specific details