I am looking for suggestions on doing this. Basically, I'd like to add "Add to my calendar" for Google, Outlook, iCal and Yahoo on a confirmation email. The event name, date/time and location is in database. I know I will have to store temp file in the server but not sure what else I need. Any suggestions are appreciated.
Anyone? Some ideas or where to begin?
In a current project I am giving the user the option to Add to Google Calendar and download an iCal file. The iCal file has to be generated manually and then hosted on BC as a download.
The Add to Google feature is a link that you can dynamically build using data in your Events module, or a web app, with Liquid. Use this Liquid filter to URL encode each string: url_param_escape
You will also need to use the date switches to format the date correctly.
Here is an example, taken from a Stack Overflow answer: