To configure a WWW browser and HTTP server for the automatic viewing of Maple worksheets as they are downloaded via the WWW.
The computers on the World-Wide Web (WWW) communicate according to the HyperText Transfer Protocol (HTTP). A message on the WWW begins when a user selects a link on a web page. The browser responds by sending the request to the appropriate HTTP server. The response to the browser includes the requested information (typically a file) and a MIME type (Multipurpose Internet Message Extension). As the name suggests, the MIME type is typically determined by the file's extension; common MIME types include text/html, text/plain, image/gif, and application/postscript. The browser uses the MIME type to determine how the data it receives is to be processed: displayed in the browser window, saved to a file, sent to a helper application, ....
Waterloo Maple Software recommends the use of the MIME type application/maple-v-r4 for files with mws extensions, i.e., Release 4 worksheets. This MIME type is relatively new; it is not uncommon to encounter HTTP servers using text/x-maple (for both, ms and mws files), application/x-maple (for ms files), or application/x-maple4 (for mws files).
Most browsers provide a user-friendly method to identify the appropriate helper application for a MIME type. For example, in Netscape 3.0, the following steps can be used to specify that data received with the application/maple-v-r4 MIME type should be sent to Maple V, Release 4.
Configuring an HTTP server is less standardized and, for security reasons,
should be done only my the person responsible for maintaining the server.
For the NCSA HTTPd server, the recommended MIME type can be added to the
default MIME types by adding the following line to the file named
srm.conf:
AddType application/maple-v-r4 mws
Release 3 worksheets, with extension ms, can be directly loaded into a Release 4 session. This can be achieved by simply appending ms to the above AddType line.
Macintosh and Windows users who still have Maple V, Release 3, on their systems can load a Release 3 worksheet directly into Release 3. All that is needed is to create a separate MIME type for ms files; a reasonable MIME type is application/maple-v-r3. (This does not work for UNIX versions of Release 3.)
The following links can be used to test whether your browser is setup for the automatic viewing of Maple worksheets as they are downloaded.
MIME type | URL | Note |
application/maple-v-r3 | http://www.math.sc.edu/~murphy/reno96/R3/day1.ms | Release 3 |
application/maple-v-r4 | http://www.math.sc.edu/~murphy/reno96/R4/day1.mws | Release 4 |
application/x-maple | http://marine.geol.sc.edu/BIOL/Courses/BIOL765/intro.ms | Release 3 |
application/x-maple4 | http://marine.geol.sc.edu/BIOL/Courses/BIOL765/introR4.mws | Release 4 |
The rapid evolution of HTTP servers and WWW browsers makes it difficult to provide specific instructions for all combinations of hardware and software. It is hoped that this information will be beneficial in your attempts to configure your system for optimal usage.
URL: http://www.math.sc.edu/~meade/maple/www.html