[gopher] Item Type Questions

Kim Holviala kim at holviala.com
Sat Oct 21 10:06:29 UTC 2017


On 21 Oct 2017, at 00:30, Keiya <keiyakins at gmail.com> wrote:

> 3. Are there any item types other than i, h, and the ones in RFC1436 in common use I should be aware of?

These are from Gophernicus sources:

/* File suffix to gopher filetype mappings */
#define FILETYPES \
        "txt","0","pl","0","py","0","sh","0","tcl","0","c","0","cpp","0", "h","0","log","0", \
        "conf","0","php","0","php3","0", \
        "map","1","menu","1", \
        "hqx","4", \
        "Z","5","gz","5","tgz","5","tar","5","zip","5","bz2","5","rar","5","sea","5", \
        "q","7","qry","7", \
        "iso","9","so","9","o","9","rtf","9","ttf","9","bin","9", \
        "ics","c","ical","c", \
        "gif","g", \
        "html","h","htm","h","xhtml","h","css","h","swf","h","rdf","h","rss","h","xml","h", \
        "jpg","I","jpeg","I","png","I","bmp","I","svg","I","tif","I","tiff","I", \
        "ico","I","xbm","I","xpm","I","pcx","I", \
        "mbox","M", \
        "pdf","d","ps","d","doc","d","ppt","d","xls","d","xlsx","d","docx","d","pptx","d", \
        "mp3","s","wav","s","mid","s","wma","s","flac","s","ogg","s","aiff","s","aac","s", \
        "avi",";","mp4",";","mpg",";","mov",";","qt",";","asf",";","mpv",";","m4v",";","webm",";","ogv",";", \
        NULL, NULL

Format is "file suffix", "gopher type". I colleced those from all over the place a few years ago trying to combine the best mappings from various documents and sources.


- Kim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/gopher-project/attachments/20171021/728f75be/attachment-0001.html>


More information about the Gopher-Project mailing list