Is it possible to add any formatting to the description of the event in an iCalendar ICS?
When Outlook imports my ICS, it makes some lines 18pt Bold and others not, what defines which lines get formatted in OL?
Is there also a way to add an alt description for links in the description?
I want to build my ICS file using PHP, too.
The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is a media type which allows users to store and exchange calendaring and scheduling information such as events, to-dos, journal entries, and free/busy information.
iCalendar is a standard for calendar data exchange. The standard is sometimes referred to as "iCal", which also is the name of the Apple, Inc. calendar program that provides one of the implementations of the standard. Outlook can subscribe to Internet-based calendars, such as the Google calendar.
iCalendar, the file format used for our calendar downloads, does not officially support HTML formatting. If any HTML formatting is present in the rich text of the portal content, the HTML tags are replaced with line breaks.
Why not use X-ALT-DESC
?
X-ALT-DESC;FMTTYPE=text/html: <html><body>I am <b>bold</b></body></html>
Outlook is very capricious about this, and you might be better off not fighting it.
I find that Outlook formats my first line bold if it's followed 2 newlines (\n), then by at least 3 lines of text, the first of which must have a capital letter. Two minimalist examples: this works:
DESCRIPTION:I am bold\n\nThey\nthey\nthey
this doesn't
DESCRIPTION:I am not bold\n\nthey\nthey\nthey
I admit this isn't an exact answer. Maybe a Microsoft Outlook engineer can jump on the thread and tell us what the business logic is.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With