HTML in iCal attachment

After doing some research and testing. The answer is a qualified no. Meaning: you could throw it in there, but you shouldn’t. It is not strictly forbidden by the RFC, but DESCRIPTION is not the appropriate property for HTML content. DESCRIPTION should be the plain text version of your content. The property X-ALT-DESC with a … Read more

Grouping multiple events in a single ics file (icalendar stream)

here is a simple example of an icalendar file with two events. BEGIN:VCALENDAR VERSION:2.0 PRODID:-//bobbin v0.1//NONSGML iCal Writer//EN CALSCALE:GREGORIAN METHOD:PUBLISH BEGIN:VEVENT DTSTART:20100701T080000Z DTEND:20100701T110000Z DTSTAMP:20091130T213238Z UID:1285935469767a7c7c1a9b3f0df8003a@yoursever.com CREATED:20091130T213238Z DESCRIPTION:Example event 1 LAST-MODIFIED:20091130T213238Z SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Example event 1 TRANSP:OPAQUE END:VEVENT BEGIN:VEVENT DTSTART:20100701T120000Z DTEND:20100701T130000Z DTSTAMP:20091130T213238Z UID:1285935469767a7c7c1a9b3f0df8003b@yoursever.com CREATED:20091130T213238Z DESCRIPTION:Example event 2 LAST-MODIFIED:20091130T213238Z SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Example event 2 TRANSP:OPAQUE END:VEVENT END:VCALENDAR … Read more

Encoding newlines in iCal files

OK, looks like I’m answering my own question. The correct way to do it is to use “\n” for line breaks. Outlook did not recognize this because I had “ENCODING=quoted-printable” on the description. Once I removed that, Outlook displayed the new lines correctly. Also, to get the file to open correctly in Apple iCal, you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)