mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
22 lines
777 B
Plaintext
22 lines
777 B
Plaintext
|
DOS Gateway Interface
|
||
|
---------------------
|
||
|
|
||
|
DOS Gateway Interface (DGI) introduced by Arachne browser is similar to
|
||
|
CGI scripts and mailcap. DGI programs usually take input from command line
|
||
|
or files and write output to temporary files. Similarity to mailcap
|
||
|
is config file. You can assign various file externsions with DGI, and
|
||
|
run to get output.
|
||
|
|
||
|
See Arachne documentation for details of configuration file mime.cfg.
|
||
|
|
||
|
Note, that not all options were implemented in ELinks, and not all were tested.
|
||
|
|
||
|
|
||
|
Sample mime.cfg
|
||
|
~~~~~~~~~~~~~~~
|
||
|
|
||
|
-------------------------------------------------------------------------------
|
||
|
file/cdplayer.dgi |$ecdplayer.exe $s
|
||
|
application/pdf pdf>txt|$epdftotext $1 $2
|
||
|
-------------------------------------------------------------------------------
|