carlsednaoui / add-to-calendar-buttons

Easily add a "add to calendar" button to your websites. This JavaScript library supports Google Calendar, iCal, Outlook and Yahoo Calendar.
476 stars 171 forks source link

Recurring Events #26

Open taykcrane opened 6 years ago

taykcrane commented 6 years ago

Hey, any hope for support of recurring events via the RRULE property? (https://www.textmagic.com/free-tools/rrule-generator)

Would be super helpful! Thanks!

drnikki commented 5 years ago

Marking this as a duplicate of #18 and I'm working on it. I've added RRULE to the ics link, but it's not working as expected.

taykcrane commented 5 years ago

@drnikki Thank you so much for working on this. Do you have a sense of when it'll be working, or no idea?

drnikki commented 5 years ago

Hi @taykcrane - if you're in a pinch you can look at the latest commit here: https://github.com/kanopi/add-to-calendar-buttons this has a working ical/outlook recurrence addition (assuming that the text "RRULE" is already included in the string you're passing in, which it is for my use case).

I'm currently blocked by trying to figure out the right google URL format for repeating events. Once I can find the required parameters and formats, I'll be able to get that hooked up quickly.

Once both are working, i'll open a PR here.

taykcrane commented 5 years ago

OK thanks so much for the update @drnikki. I'm most interested in the google use case, so I think I'll wait it out. If you remember, feel free to post in this thread or #18 when it's working.