Shared-mime checking order
David Faure
dfaure at trolltech.com
Mon Sep 17 15:51:48 PDT 2007
On Tuesday 28 August 2007, Alexander Larsson wrote:
> If several globs matches, and sniffing fails, or doesn't help:
> fall back to the first glob match
> (maybe we should do something better here?)
Hmm, I just found the case of "README.txt", which could either be "text/plain" due to *.txt
or "text/x-readme" due to README*. Which one should we pick? The second pattern "looks"
more specific to my eyes so it should probably win, but how should we quantify that?
Should we take the longest pattern?
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the xdg
mailing list