Technical note: 10015 Created: 05/11/95 by Trip Last modified: 07/10/95 by Brian Product: Netscape Navigator
The Netscape Navigator supports the following gopher types:
/* Gopher types:*/
#define GTYPE_TEXT '0' /* text/plain */
#define GTYPE_MENU '1' /* menu - becomes text/html */
#define GTYPE_CSO '2' /* cso search - becomes text/html */
#define GTYPE_ERROR '3' /* some sort of error */
#define GTYPE_MACBINHEX '4' /* application/binhex */
#define GTYPE_PCBINARY '5' /* application/octet-stream */
#define GTYPE_UUENCODED '6' /* application/uuencoded */
#define GTYPE_INDEX '7' /* search - becomes text/html */
#define GTYPE_TELNET '8' /* maps to telnet URL */
#define GTYPE_BINARY '9' /* application/octet-stream */
#define GTYPE_GIF 'g' /* image/gif */
#define GTYPE_HTML 'h' /* HTML URL */
#define GTYPE_HTMLCAPS 'H' /* HTML URL Capitalized */
#define GTYPE_INFO 'i' /* unselectable info */
#define GTYPE_IMAGE 'I' /* image/gif */
#define GTYPE_MIME 'm' /* not used (what to do?) */
#define GTYPE_SOUND 's' /* audio/(wildcard) */
#define GTYPE_TN3270 'T' /* maps to tn3270 program (url) */
#define GTYPE_WWW 'w' /* W3 address */
#define GTYPE_MPEG ';' /* video/mpeg */
Back to: Netscape Navigator Technical Notes