Hi, since 0.22 HTML files are misidentified as mozilla bookmark files (application/x-mozilla-bookmarks). This happens on every HTML file I tested, no matter if I use gnomevfs-info -s or without -s. This was probably added by: 2007-06-01 Christian Neumair <cneumair@gnome.org> * freedesktop.org.xml.in: Remove "application/x-netscape-bookmarks" definition, make "application/x-netscape-bookmarks" an alias for "application/x-mozilla-bookmarks". Also associate extensions "*.html" and "*.htm" with Mozilla bookmarks. Fixes #266. Bye Debian Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435819
Reverting that change fixes it btw...
This change is going to badly affect the desktop indexers which rely on shared-mime-info. Any update ?
Doesn't look like someone reads this bugreport or cares ;) IMHO for now that change should simply be reverted until a real solution is found...
Being able to differentiate 2 mime-types with the same suffix isn't implemented in gnome-vfs or KDE yet (see discussions on the xdg list between David Faure and Alex Larsson). So I'm reverting the patch for now, but leaving this open for when do we have the ability to differentiate them. 2007-10-22 Bastien Nocera <hadess@hadess.net> * freedesktop.org.xml.in: Revert associating *.htm and *.html to mozilla bookmarks as the mime systems don't look at magic yet to choose the right mime type (Helps: #11843) * tests/: add another feed for testing
> Being able to differentiate 2 mime-types with the same suffix isn't > implemented > in gnome-vfs or KDE yet (see discussions on the xdg list between David Faure > and Alex Larsson). So I'm reverting the patch for now, but leaving this open > for when do we have the ability to differentiate them. Thanks. Unfortunately, I could not find any information on how to do the "same suffix" thing correctly. David's and Alex's discussion seems to talk about more changes to the spec to handle this but is there anything in the spec currently that allows us to do this correctly ? I asked this here before: http://lists.freedesktop.org/archives/xdg/2007-October/008944.html
Why are the bookmarks.htm(l) file being generically matched with simply .html or .htm? I could be mistaken, but I don't think I've ever seen the bookmarks file called anything but bookmarks.htm(l) - surely using that specific name is the more correct thing to do right now than using simply *.htm(l).
If the application has special handling for Mozilla bookmarks files, then it can read the file and match it with magic. I don't think that the mime-type is of any use personally, but I'll leave it there as is, as it doesn't hurt. The original bug is fixed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.