home *** CD-ROM | disk | FTP | other *** search
/ World Book - Encyclopedia of Science / WBScience.iso / DATA / QryConfig / Verity / style / style.uni < prev    next >
Text File  |  1998-04-26  |  6KB  |  222 lines

  1. # $Id: style.uni,v 2.12 1998/03/05 18:40:46 rwang 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_kv -recognize"
  22.   autorec: "flt_rec"
  23.  
  24.   #
  25.   # This list is what to do with each type of document we recognize.
  26.   #
  27.   type: "application/msword"
  28.     /format-filter  = flt_kv    
  29.     /charset        = guess     
  30.     /def-charset    = 8859       
  31.  
  32.   type: "application/wordperfect5.1"
  33.     /format-filter  = flt_kv    
  34.     /charset        = guess     
  35.     /def-charset    = 8859       
  36.  
  37.   type: "application/x-ms-excel"
  38.     /format-filter  = flt_kv    
  39.     /charset        = guess     
  40.     /def-charset    = 8859       
  41.  
  42.   type: "application/x-ms-powerpoint"
  43.     /format-filter  = flt_kv    
  44.     /charset        = guess     
  45.     /def-charset    = 8859       
  46.  
  47.   type: "application/x-ms-works"
  48.     /format-filter  = flt_kv    
  49.     /charset        = guess     
  50.     /def-charset    = 8859       
  51.  
  52.   type: "application/postscript"
  53.     /action = skip
  54. #   /format-filter  = flt_kv    
  55. #   /charset        = guess     
  56. #   /def-charset    = 8859      
  57.  
  58.   type: "application/rtf"
  59.     /format-filter  = flt_kv    
  60.     /charset        = guess     
  61.     /def-charset    = 8859       
  62.  
  63.   type: "application/x-lotus-amipro"
  64.     /format-filter  = flt_kv
  65.     /charset        = guess     
  66.     /def-charset    = 8859       
  67.  
  68.   type: "application/x-lotus-123"
  69.     /format-filter  = flt_kv
  70.     /charset        = guess     
  71.     /def-charset    = 8859       
  72.  
  73.   type: "application/x-ms-wordpc"
  74.     /format-filter  = flt_kv
  75.     /charset        = guess     
  76.     /def-charset    = 8859       
  77.  
  78.   type: "application/x-corel-wordperfect"
  79.     /format-filter  = flt_kv
  80.     /charset        = guess     
  81.     /def-charset    = 8859       
  82.  
  83.   type: "application/x-wordprocessor"
  84.     /format-filter  = flt_kv
  85.     /charset        = guess
  86.     /def-charset    = 8859
  87.  
  88.   type: "application/x-spreadsheet"
  89.     /format-filter  = flt_kv
  90.     /charset        = guess
  91.     /def-charset    = 8859
  92.  
  93.   type: "application/x-presentation"
  94.     /format-filter  = flt_kv
  95.     /charset        = guess
  96.     /def-charset    = 8859
  97.  
  98.   type: "application/x-ms-write"
  99.     /format-filter = flt_kv
  100.     /charset = guess
  101.     /def-charset = 8859
  102.  
  103.   type: "application/pdf"
  104.     /format-filter  = "flt_pdf"  
  105.     /charset        = guess
  106.     /def-charset = 8859
  107.  
  108.   # Executable programs and shared libraries on this platform.
  109.   # Default is to skip the document.
  110.   type: "application/x-executable"
  111.     /action = skip
  112.  
  113.   type: "message/rfc822"
  114.     /charset        = guess
  115.     /def-charset    = 8859
  116.     /content-filter = "zone -email -nocharmap"
  117.  
  118.   type: "message/news"
  119.     /charset        = guess
  120.     /def-charset    = 8859
  121.     /content-filter = "zone -news -nocharmap"
  122.  
  123.   type: "text/html"
  124.     /charset        = guess        # Guess the character set, 
  125.     /def-charset    = 8859        # defaulting to 8859
  126.     /content-filter = "zone -html -nocharmap"    # HTML-specific filtering
  127.     /content-filter = "flt_meta"    # meta tag filtering
  128.  
  129.   type: "text/sgml"
  130.     /charset        = guess        # Guess the character set, 
  131.     /content-filter = "zone -nocharmap"    # SGML-specific filtering
  132.  
  133.   type: "text/ascii"
  134.     /charset        = guess
  135.     /def-charset    = 8859      # This forces a specific charset
  136.  
  137.   type: "text/enriched"
  138.     /charset        = guess        # Guess the character set, 
  139.     /content-filter = "zone -nocharmap"    # SGML-specific filtering
  140.  
  141.   type: "text/richtext"
  142.     /format-filter  = flt_kv    
  143.     /charset        = guess     
  144.     /def-charset    = 8859
  145.  
  146.   type: "text/tab-separated-values"
  147.     /charset        = guess
  148.  
  149.   type: "text/plain"
  150.     /charset        = guess
  151.     /def-charset    = 8859
  152.  
  153.   # Empty documents.  Default is to skip the document. 
  154.   type: "text/x-empty"
  155.     /action = skip
  156.  
  157.   # extracts the description field from a gif!
  158.   type: "image/gif"
  159.     # minimum of 10 chars for the string, to avoid the spurious stuff in
  160.     # the picture
  161.     /format-filter  = "strings -n 10"
  162.     /charset        = none
  163.  
  164.   # explicitly skip any verity specific files... it would be bad to index
  165.   # a verity index file into itself!
  166.   type: "application/x-verity"
  167.     /action = skip
  168.  
  169.   # Known mime types that we are explicitly not filtering because we don't
  170.   # have filters for them. If you have a filter for any of these, you may
  171.   # uncomment the line and insert the appropriate arguments.
  172.   #
  173.   # type: "application/octet-stream"
  174.   # type: "application/slate"
  175.   # type: "application/iges"
  176.   # type: "application/fractals"
  177.   # type: "application/x-tex"
  178.   # type: "application/x-texinfo"
  179.   # type: "application/x-dvi"
  180.   # type: "application/x-latex"
  181.   # type: "application/x-troff"
  182.   # type: "application/x-troff-man"
  183.   # type: "application/x-troff-ms"
  184.   # type: "application/x-troff-me"
  185.   # type: "application/x-cpio"
  186.   # type: "application/x-gtar"
  187.   # type: "application/x-tar"
  188.   # type: "application/x-compresss"
  189.   # type: "application/x-gzip"
  190.   # type: "application/x-shar"
  191.   # type: "application/x-zip-compressed"
  192.   # type: "application/x-stuffit"
  193.   # type: "application/mac-binhex40"
  194.   # type: "application/STEP"
  195.   # type: "application/dxf"
  196.   # type: "application/vda"
  197.   # type: "application/set"
  198.   # type: "application/SLA"
  199.   # type: "application/acad"
  200.   # type: "application/solids"
  201.   # type: "application/drafting"
  202.   # type: "application/pro_eng"
  203.   # type: "application/i-deas"
  204.   # type: "application/clariscad"
  205.   # type: "text/compressed"
  206.   # type: "audio/basic"
  207.   # type: "audio/x-aiff"
  208.   # type: "audio/x-wav"
  209.   # type: "image/ief"
  210.   # type: "image/jpeg"
  211.   # type: "image/tiff"
  212.   # type: "image/x-xwindowdump"
  213.   # type: "video/mpeg"
  214.   # type: "video/quicktime"
  215.   # type: "video/x-msvideo"
  216.   # type: "video/x-sgi-movie"
  217.   
  218.   default:
  219.     /action = skip
  220. }
  221. $$
  222.