application/x-chess-pgn pgn
In the file mailcap, set up the viewer you will use to view *.pgn files If you don't know how to do this, ask your friendly sysadm or send me a mail. I have tried this with xboard, and it seems to work ok. My system mailcap file looks like this:
application/x-chess-pgn; /users/ub/rudolf/xboard/xboard-3.1.pl1/xboard -ncp -lgf %s
Most systems are configured to look for a .mime.types and a .mailcap file in a users home directory. I believe you can add the above information in these files instead of in the system files, but I haven't tested it.
TYPEn="application/x-chess-pgn"where n is a number
application/x-chess-pgn="PathToYourFavouritePGNViewer %ls"I have tried Keith Fuller's pgnRead v. 1.40 with NCSA's mosaic for windows and it seems to work fine. You can find pgnRead at ftp.pitt.edu (anonymous ftp), the file name is /group/student-activities/chess/UTIL/pgnrd150.zip I have not tested this with v. 1.50 of pgnread, but I think it should work.
1. Select "preferences" from the option menu.
2. Select the "Helper Applications" page.
3. Make a new mime type. (click the "new" button)
Mime type is
application
Mime sub type is
x-chess-pgn
4. Type
pgn
in the extensions field.
5. In the action area, click on
Launch Application
and type in the path to a Windows program that reads pgn files, no
parameters after the program.
I have tried this with Netscape v. 2.0 and Keith Fuller's pgnRead v. 1.50 and it works fine for me.