back

SGF mime-type

Automatically launch your SGF browser

The sgf Go game files and variation trees are emitted by GoBase's server with a special Go game record data identifier (mime-type):

application/x-go-sgf

If you are on a UNIX system you can add the following line to your .mailcap file in your HOME directory to activate your favorite sgf browser automatically when it receives SGF files:

application/x-go-sgf; /usr/bin/cgoban -edit %s

The example above would start /usr/bin/cgoban when the WWW browser receives an SGF file. If your cgoban program is not exactly in "/usr/bin" you can change the location in the example.

Note Don't forget to reload .mailcap in case you make changes to it.

Copyright © 1992-2002 Jan van der Steen & Geert-Jan van Opdorp