Doctype Classes
|
|
Doctype (Generic Document Type)
|
|
COLONDOC
|
^
IKNOWDOC
The IKNOWDOC is the reference record format for MCNC/CNIDR's Whois++ implementation. It is basically a colon-based document type: first there is a one-word field, a colon, then the information for that field. However, in IKNOWDOC, the very first field has to be Template, and the second field has to be Handle.
Example:
Template: USER Handle: RECORD1 Name: Frank Smith Email: jsmith@foo.bar.net Job: Junior Programmer Favorite-drink: Water Favorite-band: Rolling Stones Shoe-Size: 11
You can name your fields anything you desire, however, they have to be one word in length (no whitespaces) and the first and second fields have to be "template" and "handle", respectively. A record's Handle is a uniquie indentifier, so no two records may have the same Handle.
BSn's implementation adds a few features to IKNOWDOC. It also uses BSn's Smart Doctype Technology allowing the records to also be available via WWW interfaces with a "on-the-fly" HTML/SUTRS/etc presentations, MIME-bindings etc.
The (default) headline is given as:
Template:Handle(Misc)
The Misc is defined by looking for one (1) of NAME,
ORGANISATION, ORGANIZATION or EMAIL.
See also: ROADS (IAFA) Doctype
The MIME type for "Raw" records is "Application/X-IKNOW".