My goal is to add a list of mime-types of OpenACS. There are 2
places that store mime types
<ol>
<li>AOLServer config file
<li>cr_mime_types database table
</ol>
When I file is uploaded in file storage, the procedure
fs_maybe_create_new_mime_type determines the mime type.
This procedure determines the mime type using the config file.
If the mime type is not in the database, it will be inserted into the
database. However, if a mime type is in the database but not in
the config file, it will never be available for use.
<p>
I'm checking if this is the intent before I move on. A possible
approach is to include the common mime types in a sql
installation file so they would be available regardless of
configuration. In fact, there are a few mime types in the sql files
right now. However, fs_maybe_create_new_mime_type is not
compatable with this approach at this time.