Convert YAML to ICS
Turn YAML files into iCalendar. One event per record: fields named title, summary or subject become the title, start, date or dtstart the start, end the end, location, place or where the location and notes or description the description, and timezone sets the time zone; other fields stay as their own properties.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop YAML files on the dialor turn it to pick what to do
Calendar events from a YAML file.Each record in your YAML becomes one event in a single ICS file.
What you get
One ICS file with one event per record. Several YAML documents in the same file become a list of events.
Field names decide where values go. A field named title, summary or subject becomes the event title. Start, date or dtstart sets the start, and end sets the end. Location, place or where becomes the location, notes or description becomes the description, and timezone sets the time zone.
What changes
Fields with other names are not dropped. They stay as their own properties on the event.
Aliases are expanded, so each event holds the full value. Comments are dropped. A merge key (<<) is kept as an ordinary key instead of being merged, so values it would pull in do not appear in the record.
Values such as yes, on, 0755 and dates stay text. They are not turned into booleans, numbers or date objects.
When it stops
A record without a start fails with
unsupported_elements. Add a start, date or dtstart field to each record. The same code appears when the file holds something the target cannot carry.If the file cannot be parsed as YAML, the conversion stops with
input_corrupted.To go the other way, use ICS to YAML.
YAML and ICS.What each format is.
The formats
YAML
YAML configuration and data files.
- Extensions
- .yaml .yml
- MIME type
- application
/yaml - Kind
- Text and data
iCalendar
iCalendar events and calendars.
- Extensions
- .ics .ical
- MIME type
- text
/calendar - Kind
- Text and data
In your code.The same YAML to ICS conversion through the API, for your app or your agent.
$ cv convert report.yaml report.ics$ cv convert report.yaml report.icsQuestions.What people ask about YAML to ICS.
A field named title, summary or subject. The value becomes the title of the event.
A record has no start. Give every record a start, date or dtstart field. The code also appears when the file holds something ICS cannot carry.
No. Comments are dropped. Aliases are expanded into their full values.
Yes. Each record becomes its own event, and several documents in one file become a list of events in the one ICS file.