Some, but not necessarily all, of the supported formats are described in the this section.
KonsoleKalendar Text Format is KonsoleKalendar's native format and is designed to be comfortable to read and to be parsed by follow-on scripts.
The KonsoleKalendar Text Format is:
Date:\t<Incidence Date>(dddd yyyy-MM-dd) [\t<Incidence Start Time>(hh:mm) - <Incidence End Time>(hh:mm)] Summary: \t<Incidence Summary | "(no summary available)"> Location: \t<Incidence Location | "(no location available)"> Description: \t<Incidence Description | "(no description available)"> UID: \t<Incidence UID> --------------------------------------------------
Output of konsolekalendar
:
--next
--export-type
Text
Date: Tuesday 2016-11-29
08:00 - 09:00
Summary:
Staff Meeting
Location:
Conference Room
Description:
Meet with the entire staff to discuss the project.
UID:
KonsoleKalendar-1924621834.134
--------------------------------------------------
Short Text Format provides a more compact, less verbose version of KonsoleKalendar's native format.
The KonsoleKalendar Short Text Format is:
[--------------------------------------------------] {<Incidence Date>(dddd yyyy-MM-dd)] [<Incidence Start Time>(hh:mm) - <Incidence End Time>(hh:mm) | "\t"] \t<Incidence Summary | \t>[, <Incidence Location>] \t\t<Incidence Description | "\t">
Output of konsolekalendar
:
--next
--export-type
Short
-------------------------------------------------- Tuesday 2016-11-29 08:00 - 09:00 Staff Meeting, Conference Room Meet with the entire staff to discuss the project.
Comma-Separated Value Format displays the event values in the same order as KonsoleKalendar Text format. The only difference is that all the information is on the same row with each field separated by a comma. The resulting exported files can be imported directly into spreadsheet programs like Calligra Sheets, OpenOffice.org Calc, and Microsoft® Excel. Also, CSV format is easy to parse with follow-on scripts.
The Comma-Separated Value (CSV) format is:
"Weekday, Month Day, Year","HH:MM","Weekday, Month Day, Year","HH:MM","Summary","Location","Description","UID"
Output of konsolekalendar
:
--next
--export-type
CSV
"Tuesday, November 29, 2016","08:00","Tuesday, November 29, 2016","09:00","Staff Meeting","Conference Room","Meet in the big conference \
room with the entire staff.","KonsoleKalendar-1924621834.134"
The HTML export format will produce a valid HTML file that can be published to the WWW. This export format is not suitable for follow-on script parsing, but is very nice for publishing calendars for easy public viewing.