home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / osmkiweb.txt < prev    next >
Text File  |  1997-04-10  |  4KB  |  111 lines

  1. OSMKIWEB - CONFIGURING THE IBM WEBEXPLORER FOR USE WITH CUSTOM
  2.            EXTERNAL VIEWERS
  3. 01/25/96
  4.  
  5. =======================================================================
  6.  Configuring the IBM WebExplorer for Use with Custom External Viewers
  7. =======================================================================
  8.  
  9. Please Read Entire Document for Full Explanation of Procedures
  10. --------------------------------------------------------------
  11.  
  12. DESCRIPTION
  13.  
  14. In certain situations, you might wish to configure WebExplorer to work 
  15. with files that require a special application to view. For example, you 
  16. might want to be able to view work files created with Microsoft 
  17. PowerPoint. Usually, these files are distinctive, because they end with 
  18. the extension "ppt."
  19.  
  20. RESOLUTION
  21.  
  22. Configuring EXPLORE.INI for Custom Viewers
  23. ------------------------------------------
  24. In your EXPLORE.INI file (located in either \MPTN\ETC or \TCPIP\ETC), 
  25. locate the following section:
  26.  
  27.    [advanced]
  28.    ; advanced user settings - edit with care!
  29.    ;
  30.    ; mailcap= specifies full path to user mailcap file
  31.    ; format is:  mime/type; program_name params %s
  32.    ; example:    image/jpeg; jview -r %s
  33.    ; no wildcards allowed, no piping, no UNIX commands
  34.    mailcap=
  35.    ; extmap= specifies full path to user extension map file
  36.    ; format is:  mime/type     extension_list
  37.    ; example:    image/jpeg    jpg jpeg jpe
  38.    extmap=
  39.  
  40. You need to use this section to point to two files. The first file, 
  41. MAILCAP=, tells WebExplorer what program you are going to use as a 
  42. viewer. The second file, EXTMAP=, tells WebExplorer which file types 
  43. (by extension) are to be viewed using the definitions in MAILCAP.
  44.  
  45. To begin, choose two file names. You will have to specify the full path 
  46. and file name for each variable. For example:
  47.  
  48.    mailcap=C:\TCPIP\ETC\MAILCAP.TXT
  49.    extmap=C:\TCPIP\ETC\EXTMAP.TXT
  50.  
  51. These files can be any name. Be sure that the path and file name are 
  52. correct.
  53.  
  54. Configuring MAILCAP for Custom Viewers
  55. --------------------------------------
  56. In your EXPLORE.INI file, you chose a file name for a MAILCAP file. Now 
  57. you need to create that file.
  58.  
  59. Using any text editor (E.EXE, EPM.EXE, TEDIT.EXE), create your file. In 
  60. this example, name the file MAILCAP.TXT. In your MAILCAP file, use the 
  61. following syntax:
  62.  
  63.    mime/type; program_name parameters %s
  64.  
  65. To set up Microsoft PowerPoint as an external viewer, use the following 
  66. configuration:
  67.  
  68.    image/powerpoint; c:\powerpnt\powerpnt.exe %s
  69.  
  70. This tells WebExplorer that the mime type is an "image," the image type 
  71. is "powerpoint," the program name is "c:\powerpnt\powerpnt.exe," and no 
  72. parameters are passed. %s ends the entry.
  73.  
  74. The MAILCAP file can be used to set up as many viewers as your
  75. environment requires. At this time, no limit has been found in the 
  76. number of entries.
  77.  
  78. Configuring EXTMAP for Custom Viewers
  79. -------------------------------------
  80. In your EXPLORE.INI file, you chose a file name for a EXTMAP file. Now 
  81. you need to create that file.
  82.  
  83. Using any text editor (E.EXE, EPM.EXE, TEDIT.EXE), create your file. In 
  84. this example, name the file EXTMAP.TXT. In your EXTMAP file, use the 
  85. following syntax:
  86.  
  87.    mime/type extension_list
  88.  
  89. To set up Microsoft PowerPoint as an external viewer, use the following 
  90. configuration:
  91.  
  92.    image/powerpoint ppt
  93.  
  94. This tells WebExplorer that the mime type is an "image," the image type 
  95. is "powerpoint," and files of this type have an extension of "ppt."
  96.  
  97. You can specify multiple extensions for each mime/type.
  98.  
  99. The "mime/type" entered must have a matching entry in your MAILCAP file.
  100. Otherwise, the extensions you define have no program to run them.
  101.  
  102. _______________________________________________________________________
  103. IBM disclaims all warranties, whether express or implied, including 
  104. without limitation, warranties of fitness and merchantability with 
  105. respect to the information in this document. By furnishing this 
  106. document, IBM grants no licenses to any related patents or copyrights.  
  107. Copyright (c) 1994, 1995 IBM Corporation. Any trademarks and product 
  108. or brand names referenced in this document are the property of their 
  109. respective owners. Consult your product manuals for complete trademark 
  110. information.
  111.