hyperlink - I want HTML link to .ics file to open in calendar app when clicked, currently opens file as plain text. Suggestions? -


I am driven went export Apple iCal into an HTML web page .ics file I am

  & lt; A href = "calendar.ics" & gt;   

This link will open the calendar.ics file in plain text in my browser (Chrome). I should automatically open in Outlook or ICL or other calendar applications What can I add to the link tag to create the desired behavior? What about modifying HTTP headers on .ics files?

Any suggestions are appreciated!

So if your site went created at the mine on Linux can simply add a line to your Actiakss file Open it as a download instead of a text page.

Add it to your HTXus file:

  AddType text / calendar .ics    

Comments