View Source Naiveical

With naiveical you can extract parts of an icalendar file and update individual lines. It does not parse the icalendar but rather works directly with pure text.

installation

Installation

The package available in Hex and can be installed by adding naiveical to your list of dependencies in mix.exs:

def deps do
  [
    {:naiveical, "~> 0.1.0"}
  ]
end

documentation

Documentation

Available at HexDocs.

rationale

Rationale

The difficulty in parsing the icalendar format is that it is difficult to write a library that can parse and re-create the icalendar file without any data loss. As such it is best to keep the original icalendar file and work directly on the file. This makes working with the access of the individual fields more complicated but keeps the original file intact.