Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 534 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 534 Bytes

Here is a Clojure library to produce iCalendar objects, as defined by RFC 2445.

=> (use 'clj-ical.format)

Create a VCALENDAR with some VEVENTS

=> (write-object 
     [:vcalendar 
       [:vevent 
         [:summary "Bastille Day Party"]]])

will produce

BEGIN:VCALENDAR
BEGIN:VEVENT
SUMMARY:Bastille Day Party
END:VEVENT
END:VCALENDAR

The library correctly obeys all requirements of the RFC 2445 specification, such as

  • long-line folding
  • property parameters
  • CRLF line termination