> "François Revol" <revol@xxxxxxx> wrote: > > > Marcus Overhagen <marcusoverhagen@xxxxxxxx> wrote: > > > > Extensions and alias entries should probably stored in a hash > > > > table, for fast access. > > Doesn't the existing mime db already supports multiple extentions > > for > > the same mime ? (by adding BMessages, but maybe it's not > > efficiently > > parsed ?) > > Yes, it does. It still makes sense to have, for example, audio/x-mpeg > and audio/mpeg point to the same actual MIME type, and maintain only > a > single set of extensions and further attributes. > That would make the MIME system much more flexible and stronger at > the > same time. Right. Maybe we should share our mime db with the freedesktop project ? They maintain a mime db with parsing rules and other stuff... François.