While going through the gopher source in elinks, I found this list of
entities, although I'm not sure how well it supports the more exotic
ones, but it has options for handling custom mimetypes:
GOPHER_FILE = '0',
GOPHER_DIRECTORY = '1',
GOPHER_CSO = '2',
GOPHER_ERROR = '3',
GOPHER_MACBINHEX = '4',
GOPHER_PCBINARY = '5',
GOPHER_UUENCODED = '6',
GOPHER_INDEX = '7',
GOPHER_TELNET = '8',
GOPHER_BINARY = '9',
GOPHER_GIF = 'g',
GOPHER_HTML = 'h', /* HTML */
GOPHER_CHTML = 'H', /* HTML */
GOPHER_MIME = 'm',
GOPHER_SOUND = 's',
GOPHER_WWW = 'w', /* W3 address */
GOPHER_IMAGE = 'I',
GOPHER_TN3270 = 'T',
GOPHER_INFO = 'i', /* Information or separator line */
GOPHER_DUPLICATE = '+',
GOPHER_PLUS_IMAGE = ':', /* Addition from Gopher Plus */
GOPHER_PLUS_MOVIE = ';',
GOPHER_PLUS_SOUND = '<',
GOPHER_PLUS_PDF = 'P',
http://tty1.uk/scripts/elinks/entity-types.txt
--
Dave