Chase Seibert Chase Seibert - 1 month ago 10
Java Question

Convert iCal to HTML or plaintext in Java

I'm looking for a Java API to convert ICS (aka iCal) attachments to nicely formatted HTML or plaintext for display purposes. Ideally, it would be able to handle:


  • Converting dates to a specified timezone.

  • Expanding recurrence patterns into human readable sentences.

  • Multiple VCALENDAR records in a single file.



I'm looking at iCal4j, which has a nice DOM parser, but no way to serialize to anything but iCal.

Answer

Sorry mate, if you Googled around and found nothing, then its a sure set of unique requirements you got there, time to innovate.

Take what you have, think up some ideas, and try them out, comes with the job!