- XNotes File Format
- Address Manager File Format
- Todo Manager File Format
- Calendar Manager File Format
- Projects File Format
The Address Manager uses a flat file database for storing records. The first line of the file is used to identify the file as one belonging to the XNotesPlus Address Manager. The rest of the file comes in two parts: the list of available categories followed by a series of individual records. Each record uses a format that looks a little like XML, but its not. The prefix string of <%XN> is used to delimit the start of new fields.
%!!<xn v2 addresses> Unfiled <%XN>Category: <string> <%XN>RecordID: <int> <%XN>ListPhone: <string> <%XN>Attribute: <int> <%XN>Last: <string> <%XN>First: <string> <%XN>Title: <string> <%XN>Company: <string> <%XN>Fax: <string> <%XN>E-mail: <string> <%XN>Other: <string> <%XN>E-mail: <string> <%XN>Work: <string> <%XN>Address: <string> <%XN>City: <string> <%XN>State: <string> <%XN>ZipCode: <string> <%XN>Country: <string> <%XN>Custom1: <string> <%XN>Custom2: <string> <%XN>Custom3: <string> <%XN>Custom4: <string> <%XN>Note: <string>
The Todo Manager uses a flat file database for storing records. The first line of the file is used to identify the file as one belonging to the XNotesPlus Todo Manager. The rest of the file comes in two parts: the list of available categories followed by a series of individual records. Each record uses a format that looks a little like XML, but its not. The prefix string of <%XN> is used to delimit the start of new fields.
%!!<xn v2 todos> Unfiled <%XN>Attribute: <string> <%XN>RecordID: <int> <%XN>Category: <string> <%XN>Priority: <int> <%XN>Completed: <string> <%XN>Due: <strftime formatted string> <%XN>Description: <string> <%XN>Note: <string>
The Calendar Manager uses a flat file database for storing records. The first line of the file is used to identify the file as one belonging to the XNotesPlus Calendar Manager. The rest of the file consists of a series of individual records. Each record uses a format that looks a little like XML, but its not. The prefix string of <%XN> is used to delimit the start of new fields. The special field RecordEND: denotes the end of the record.
%!!<xn v2 datebook> <%XN>RecordID: <int> <%XN>Attributes: <int> <%XN>Event: <int> <%XN>Begin: <strftime formatted string> <%XN>End: <strftime formatted string> <%XN>Alarm: <int> <%XN>Advance: <int> <%XN>AdvanceUnits: <int> <%XN>RepeatType: <int> <%XN>RepeatForever: <int> <%XN>RepeatEnd: <strftime formatted string> <%XN>RepeatFrequency: <int> <%XN>RepeatDay: <int> <%XN>RepeatDates: <colon separated list of 7 int (0 or 1) values> <%XN>RepeatWeekstart: <int> <%XN>Exceptions: <int> <%XN>Description: <string> <%XN>Note: <string> <%XN>RecordEND:
The Projects file uses a flat file database for storing records. The first line of the file is used to identify the file as one belonging to the XNotesPlus Projects database. The rest of the file consists of a series of individual records. Each record is a single line with 4 fields. The first field is the name of the project which is ended by a colon. The last three fields are float values defining a percent of 65536, which is what GTK+ uses to define a RGB value. The numbers are in order: Red, Green and Blue.
%%!!<xpproj.v3> garage project:0.0 0.0 1.0 the kids:0.0 1.0 0.0 book deals:1.0 1.0 0.0 the bosses project:0.66 0.66 0.66 honey-do lists:1.0 0.5 0.3137 new garage project:0.0 1.0 1.0 project a:0.0 0.0 1.0 project b:1.0 0.0 1.0 project c:0.961 0.871 0.702 project d:0.133 0.545 0.133

