adding content-types?
William Shipley
wjs
Mon Jan 29 16:08:31 PST 1996
> One of my favorite places to browse, http://xxx.lanl.gov, defines
> mime-types application/x-eprint and application/x-eprint-tar. How can I
> teach OmniWeb that the first is a .tex file, and the second one a .tar
> file containing a .tex file on which TexView should be run? Actually,
> opening it in Opener with a .tar extension will do the trick; as long as
> it does not end up in Edit.app I am happy.
>
> Of course I found the file Omni.dictionary, which seems to contain a
> mimtype -> extension translation table, but there is no obvious
> front-end, nor a comment to the effect one can edit this file oneself.
>
> The abality to add mimetypes, preferably a bit more elegant than editing
> .mailcap, would be lovely.
You can create a ~/Library/OmniComponents/Omni.dictionary (or
/LocalLibrary/OmniComponents/Omni.dictionary) and, using the format of
the one inside the app-wrapper, add all the entries you want.
Pretty cool, huh? This is the same directory where you can drop your
own .omni bundles (like SSL, which we have working in-house but can't
release until we figure out the legalities).
-Wil
PS: We don't guarantee this format won't change before the final
release.
More information about the OmniWeb-l
mailing list