[haiku-development] Re: Any interest in an advanced MIME db replacement?
- From: François Revol <revol@xxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 7 Feb 2017 16:53:13 +0100
Hi,
On 07/02/2017 16:44, Dario Casalinuovo wrote:
Hi there,
I'm working on a project which is very similar to the mime-db.
I'm planning to add way more formats than what Haiku actually supports and
I'm working on a set of algorithms able to build rules to recognize
non-magic files from samples. Even if the goals are very similar there are
some slight differences I will list there :
Please, please, if you want to replace it, check what GNU/Linux does
first, as we can probably reuse part of it:
https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
If we need to replace the syntax I don't see any point in reinventing
the wheel, reusing the XDG one is a much better option (and we can still
propose updates to it).
François.
Other related posts: