BSn's Smart Doctypes feature "on-the-fly" record syntax conversion and MIME bindings of records. The MIME bindings allows one to bind records to applications. A database of mailfolders (eg. Email), for instance, can be searched, the results presented in HTML (with Hyperlinks etc) and one could select the Raw Record to launch an email program with the message loaded-up into it.
| DOCTYPE | MIME Content type | Type name |
|---|---|---|
| PLAINTEXT | plain/text | "Plain Text" |
| BIBTEX | Application/X-Bibtex | "BibTeX Bibliographies" |
| BINARY | Application/Octet-Stream1) | "Binary files" |
| COLONDOC | Application/X-COLONDOC | "Colon defined documents" |
| DIF | Application/X-DIF | "DIF" |
| DIGESTTOC | Message/rfc822 | "Mail Digest Table of Contents (Head)" |
| DVBLINE | Application/X-DVBline | "DVB mediagraphic records" |
| FILMLINE | Application/X-Filmline | "JFF/German FilmNet Exchange Records" |
| FTP | Application/Octet-Stream1) | "FTP Archives" |
| GILS | Application/X-GILS-<Level-1> | "GILS SGML-like records" |
| HTML | text/html | "Hypertext Markup Language (WWW)" |
| HTMLMETA | text/xml | "HTML META" |
| IAFADOC | Application/X-IAFA | "IAFA Descriptions" |
| IKNOWDOC | Application/X-IKNOW | "Records for MCNC/CNIDR's Whois++ server" |
| IRLIST | Application/X-IRList | "IR List Digest (elements)" |
| LISTDIGEST | Application/X-ListDigest | "Listserver Digest (elements)" |
| MAILDIGEST | Application/X-Maildigest | "Mail Digest (elements)" |
| MAILFOLDER | Message/rfc822 | "Internet Mail" |
| MEDLINE | Application/X-Medline | "Medline Record" |
| MEMODOC | Application/X-Memo | "Memos" |
| NEWSFOLDER | message/news | "Usenet News Articles" |
| REFERBIB | Application/X-Refer | "Un*x Refer(1) bibliographic record" |
| ROADS++ (ROADSDOC) | Application/X-IAFA | "IAFA Descriptions" |
| SGML | text/sgml | "(Generic) SGML markup" |
| SGMLNORM | text/sgml | "(Normalized) SGML markup" |
| SGMLTAG | Application/X-SGMLTAG-<Level-1> | "SGML-like tagged data" |
| XML | text/xml | "The eXtensible Markup Language" |
| text/plain | Default |
1) Dependant upon MIME type of reference. See
Binary bindings.
Level-1)Example: in
<REC><TITLE>... the level-1 tag is
REC