home *** CD-ROM | disk | FTP | other *** search
/ Dream 44 / Amiga_Dream_44.iso / Linux / Apps / xanim.tgz / xanim / xanim27064 / WWW_Helper.doc < prev    next >
Text File  |  1997-01-26  |  3KB  |  87 lines

  1.  
  2. This file contains instructions on how to setup your WWW browser
  3. so that it calls up XAnim for the various animation/audio/video
  4. files that you download.
  5.  
  6. NOTE: You can use the +q option to suppress the startup message
  7. from XAnim. This is useful if your browser pops up a separate
  8. window for such output. The +q option would be added to the
  9. options in the .mailcap. See section 2 below.
  10.  
  11.  
  12. *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*
  13.  
  14. There's three things you need to do in order to get your WWW browser
  15. to properly call up XAnim for the files that XAnim can support.
  16.  
  17. 1) Setup your ".mime.types" file.  This maps file extensions into
  18.    MIME types and subtypes. It's not real important what you
  19.    call these types, although there are a few that have already
  20.    been defined.
  21.  
  22.    Here's mine  ".mime.types" file as an example:
  23.  
  24. video/mpeg      mpg mpeg
  25. video/quicktime mov qt moov MooV hqx qtvr
  26. video/fli       fli flc
  27. video/avi       avi
  28. video/dl        dl
  29. video/sgi       mv movi
  30. video/anim      anim iff anim5 anim3 anim7
  31. audio/x-mpeg    mp mp2
  32. audio/wav       wav
  33. audio/au        au
  34. image/jpg       jpg jpeg
  35.  
  36.  
  37.  
  38. 2) Setup your ".mailcap" file.  This file indicates what applications,
  39.    like xanim, xv, etc, to call up when presented with a certain
  40.    Mime type/subtype(same ones defined in the .mime.types above.
  41.  
  42.    Here's mine:
  43.  
  44. image/jpg;      xv -owncmap %s ;
  45. video/*;        /usr/podlipec/bin/xanim +v -Cn %s ;
  46. audio/x-mpeg;   /usr/podlipec/bin/maplay_sunos4_1_3 %s ;
  47. audio/*;        /usr/podlipec/bin/xanim +v %s ;
  48.  
  49.  
  50. 3) Tell your brower(s) to use the .mime.types and .mailcap files you
  51.    just created/modified. This is dependent upon whatever browser 
  52.    you have.
  53.  
  54.    a) Mosaic:  Mosaic looks in your home directory(as defined
  55.       by your HOME env variable for the .mailcap and .mime.types
  56.       files.  You might need to restart Mosaic after changing
  57.       these files in order to have them take affect.
  58.  
  59.    b) Netscape 1.1:
  60.  
  61.     Go into the Options:Preferences:Helper Applications Menu.
  62.  
  63.         You'll see a form to indicate the locations of the Mailcap
  64.         and Types files. Enter in the full path to the .mailcap
  65.         and the .mime.types file here.  Then go back and use
  66.         the  Options:Save_Options  menu.
  67.  
  68.    c) Netscape 2.0:
  69.  
  70.     Go into the Options:General Preferences:Helpers Menu.
  71.       
  72.         You'll see a form to indicate the locations of the Mailcap
  73.         and Types files. Enter in the full path to the .mailcap
  74.         and the .mime.types file here.  Then go back and use
  75.         the  Options:Save_Options  menu.
  76.        
  77.  
  78. For more info on these or other WWW browers, read the  documentation 
  79. that came with them.
  80.  
  81. You can also visit:
  82.  
  83.        http://sunsite.unc.edu/louvre/about/tech.html
  84.                 WebMuseum: Technical: Setting Properly your Web reader
  85.  
  86. *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*
  87.