home *** CD-ROM | disk | FTP | other *** search
/ World Book - Encyclopedia of Science / WBScience.iso / DATA / books / 20000d04 / query / style / style.uni < prev    next >
Text File  |  2001-05-08  |  7KB  |  210 lines

  1. # $Id: style.uni,v 2.4 1997/04/09 21:27:28 edwin Exp $
  2. # Copyright (C) 1996 Verity, Inc.
  3. #
  4. # style.uni - Configuration file for the universal filter
  5. #
  6. $control: 1
  7. types:
  8. {
  9.   #
  10.   # This setting specifies the filters to use as the autorecognition
  11.   # filters. There can be more than one "autorec" keyword in this file.
  12.   # If there are multiple, they are installed in the order that they
  13.   # are specified, with the first one being attached to the gateway
  14.   # and the last one being attached on the other end to the universal
  15.   # filter. 
  16.   #
  17.   # The very first token that this list of filters produces MUST be
  18.   # the VdkTokenType_ContentType token. If it isn't, the universal
  19.   # filter will not work properly.
  20.   #
  21.   autorec: "flt_rec"
  22.   autorec: "flt_inso -recognize"
  23.  
  24.  
  25.   #
  26.   # This list is what to do with each type of document we recognize.
  27.   #
  28.   type: "application/msword"
  29.     /format-filter  = flt_inso    
  30.     /charset        = guess     
  31.     /def-charset    = 850       
  32.  
  33.   type: "application/wordperfect5.1"
  34.     /format-filter  = flt_inso    
  35.     /charset        = guess     
  36.     /def-charset    = 850       
  37.  
  38.   type: "application/x-ms-excel"
  39.     /format-filter  = flt_inso    
  40.     /charset        = guess     
  41.     /def-charset    = 850       
  42.  
  43.   type: "application/x-ms-powerpoint"
  44.     /format-filter  = flt_inso    
  45.     /charset        = guess     
  46.     /def-charset    = 850       
  47.  
  48.   type: "application/x-ms-project"
  49.     /format-filter  = flt_inso    
  50.     /charset        = guess     
  51.     /def-charset    = 850       
  52.  
  53.   type: "application/x-ms-works"
  54.     /format-filter  = flt_inso    
  55.     /charset        = guess     
  56.     /def-charset    = 850       
  57.  
  58.   type: "application/x-ms-tnef"
  59.     /format-filter  = flt_inso    
  60.     /charset        = guess     
  61.     /def-charset    = 850       
  62.  
  63. # Postscript is not supported by Inso's Mastersoft filters.
  64. # However, it is supported by Inso's OutsideIn filter product line.
  65. # If this collection is supported by Inso's OutsideIn filters and
  66. # postscript file support is desired, then:
  67. #   1) uncomment the /format-filter, /charset and /def-charset lines
  68. #   2) comment the /action to index postscript files.
  69.  
  70.   type: "application/postscript"
  71.     /action = skip
  72. #   /format-filter  = flt_inso    
  73. #   /charset        = guess     
  74. #   /def-charset    = 850       
  75.  
  76.   type: "application/rtf"
  77.     /format-filter  = flt_inso    
  78.     /charset        = guess     
  79.     /def-charset    = 850       
  80.  
  81.   type: "application/ami-pro"
  82.     /format-filter  = flt_inso
  83.     /charset        = guess     
  84.     /def-charset    = 850       
  85.  
  86.   type: "application/pdf"
  87.     /format-filter  = "flt_pdf"  
  88.     /charset        = guess
  89.  
  90.   type: "application/x-inso"
  91.     /format-filter  = flt_inso
  92.     /charset        = guess
  93.     /def-charset    = 850
  94.  
  95.   # Executable programs and shared libraries on this platform.
  96.   # Default is to skip the document.
  97.   type: "application/x-executable"
  98.     /action = skip
  99.     #minimum of 6 chars for the string, to avoid the spurious stuff
  100. #   /format-filter  = "strings -n 6"
  101. #   /charset        = none
  102.  
  103.   type: "message/rfc822"
  104.     /charset        = guess
  105.     /def-charset    = 8859
  106.     /content-filter = "zone -email -nocharmap"
  107.  
  108.   type: "message/news"
  109.     /charset        = guess
  110.     /def-charset    = 8859
  111.     /content-filter = "zone -news -nocharmap"
  112.  
  113.   type: "text/html"
  114.     /charset        = guess             # Guess the character set, 
  115.     /def-charset    = 8859              # defaulting to 8859
  116.     /content-filter = "zone -html -nocharmap"   # HTML-specific filtering
  117.     /content-filter = "flt_meta"        # meta tag filtering
  118.  
  119.   type: "text/sgml"
  120.     /charset        = guess             # Guess the character set, 
  121.     /content-filter = "zone -nocharmap" # SGML-specific filtering
  122.  
  123.   type: "text/ascii"
  124.     /charset        = 8859      # This forces a specific charset
  125.  
  126.   type: "text/enriched"
  127.     /charset        = guess             # Guess the character set, 
  128.     /content-filter = "zone -nocharmap" # SGML-specific filtering
  129.  
  130.   type: "text/richtext"
  131.     /format-filter  = flt_inso    
  132.     /charset        = guess     
  133.     /def-charset    = 850
  134.  
  135.   type: "text/tab-separated-values"
  136.     /charset        = guess
  137.  
  138.   type: "text/plain"
  139.     /charset        = guess
  140.  
  141.   # Empty documents.  Default is to skip the document. 
  142.   type: "text/x-empty"
  143.     /action = skip
  144.  
  145.   # extracts the description field from a gif!
  146.   type: "image/gif"
  147.     # minimum of 10 chars for the string, to avoid the spurious stuff in
  148.     # the picture
  149.     /format-filter  = "strings -n 10"
  150.     /charset        = none
  151.  
  152.   # explicitly skip any verity specific files... it would be bad to index
  153.   # a verity index file into itself!
  154.   type: "application/x-verity"
  155.     /action = skip
  156.  
  157.   # Known mime types that we are explicitly not filtering because we don't
  158.   # have filters for them. If you have a filter for any of these, you may
  159.   # uncomment the line and insert the appropriate arguments.
  160.   #
  161.   # type: "application/octet-stream"
  162.   # type: "application/slate"
  163.   # type: "application/iges"
  164.   # type: "application/fractals"
  165.   # type: "application/x-tex"
  166.   # type: "application/x-texinfo"
  167.   # type: "application/x-dvi"
  168.   # type: "application/x-latex"
  169.   # type: "application/x-troff"
  170.   # type: "application/x-troff-man"
  171.   # type: "application/x-troff-ms"
  172.   # type: "application/x-troff-me"
  173.   # type: "application/x-cpio"
  174.   # type: "application/x-gtar"
  175.   # type: "application/x-tar"
  176.   # type: "application/x-compresss"
  177.   # type: "application/x-gzip"
  178.   # type: "application/x-shar"
  179.   # type: "application/x-zip-compressed"
  180.   # type: "application/x-stuffit"
  181.   # type: "application/mac-binhex40"
  182.   # type: "application/STEP"
  183.   # type: "application/dxf"
  184.   # type: "application/vda"
  185.   # type: "application/set"
  186.   # type: "application/SLA"
  187.   # type: "application/acad"
  188.   # type: "application/solids"
  189.   # type: "application/drafting"
  190.   # type: "application/pro_eng"
  191.   # type: "application/i-deas"
  192.   # type: "application/clariscad"
  193.   # type: "text/compressed"
  194.   # type: "audio/basic"
  195.   # type: "audio/x-aiff"
  196.   # type: "audio/x-wav"
  197.   # type: "image/ief"
  198.   # type: "image/jpeg"
  199.   # type: "image/tiff"
  200.   # type: "image/x-xwindowdump"
  201.   # type: "video/mpeg"
  202.   # type: "video/quicktime"
  203.   # type: "video/x-msvideo"
  204.   # type: "video/x-sgi-movie"
  205.   
  206.   default:
  207.     /action = skip
  208. }
  209. $$
  210.