The type of the object, and thereby the particular action to take, is determined by the MIME type of the object.
For each MIME type you want to be recognized by AWeb, there should be an entry on this page with the appropriate action and viewer or plugin module name defined.
You can use an asterisk to specify a wildcard subtype. AWeb will use the external viewer defined in this row for files with the same type but a subtype for which no external viewer is defined. See the example.
The extensions are especially important when looking at local files. As there is no server for local files, there is only the extension that tells AWeb about the type of the file.
In this string gadget, you type the extensions that could identify this MIME type. Separate multiple extensions by spaces or commas. The extensions are not case sensitive.
Default | Specifying default for a "TYPE/SUBTYPE" entry means: use the action specified for "TYPE/*". For "TYPE/*" entries, default is the same as internal. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Internal | For TEXT/HTML, TEXT/PLAIN, IMAGE/* and AUDIO/* types, AWeb has built-in drivers. The image and audio drivers are based on datatypes, and therefore somewhat limited in their features. | ||||||||
AWeb Plugin | AWeb supports the use of external plugin modules.
Plugin modules act as a replacement or addition to
the internal drivers. Use the Name field to select the name of the plugin module to be used. Use the Arguments field to specify any additional arguments that the plugin module may need. Refer to the documentation of the plugin module for the arguments allowed. NOTE: These plugin modules should not be confused with external ARexx scripts, sometimes also called "plugins". | ||||||||
External program | An external program will be started for this file. Use the Command and Arguments fields to specify the viewer command to execute for this MIME type. Argument parameters are:
| ||||||||
External program with PIPE | As with External program, an external program
is started. The difference is that using a PIPE the program is started
as soon as data for the file arrives, and the data is sent to the
program through a PIPE: file. This speeds up the process, because
you don't have to wait until all data has arrived before the program
is started. Note that datatype based programs do not work with PIPEs. | ||||||||
Save to disk | The file is not processed, but always saved to disk instead. |
If AWeb can't determine the MIME type, or if the MIME type is known but not in the list, or if the MIME type is in the list but there is no valid action defined, AWeb will pop up a save requester. You can than save the file, and try to process it later.
NOTE that these MIME settings are used for every file. Especially embedded images in a HTML document will be shown by an external viewer if you define one for images. To display the images in the HTML document itself, set the action to internal, or configure an appropriate plugin module. You can define a separate image viewer to be used for standalone images.
Then you would configure the following MIME types:
AUDIO/BASIC | au | D |
AUDIO/MIDI | midi mid | E | GMPlay:GMPlay %f |
AUDIO/WAV | wav | I |
AUDIO/X-8SVX | 8svx svx | D |
AUDIO/* | P | PE:PowerEars %f PUBSCREEN %n |