|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
HTML mimetypeHey all,
I recently noticed that *.html files are getting detected as application/x-mozilla-bookmarks instead of the correct text/html ! This is due to an xdgmime mime database (shared-mime-info) weirdness which recognizes *.html files as application/x-mozilla-bookmarks. Just for consolation, gnomevfs-info also makes the same mistake. I wonder what does nautilus do ? And no, beagle's HTML filter does not index application/x-mozilla-bookmarks file. Its trivial to add the mimetype to the HTML filter but I wonder if that is the right thing to do. Till this issue is resolved, don't be surprised if your html files are not indexed! The problem is partly due to shared-mime-info, so anybody with shared-mime-info-0.22 [1] will face the same problem. Anyone knows anything ? - dBera [1] http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?revision=1.246&view=markup -- ----------------------------------------------------- Debajyoti Bera @ http://dtecht.blogspot.com beagle / KDE fan Mandriva / Inspiron-1100 user _______________________________________________ Dashboard-hackers mailing list Dashboard-hackers@... http://mail.gnome.org/mailman/listinfo/dashboard-hackers |
|
|
Re: HTML mimetypeOn 19/10/2007, Debajyoti Bera <dbera.web@...> wrote:
<snip> > And no, beagle's HTML filter does not index application/x-mozilla-bookmarks > file. Its trivial to add the mimetype to the HTML filter but I wonder if that > is the right thing to do. Till this issue is resolved, don't be surprised if > your html files are not indexed! The problem is partly due to > shared-mime-info, so anybody with shared-mime-info-0.22 [1] will face the > same problem. > Anyone knows anything ? Found this 2 month old bug -- https://bugs.freedesktop.org/show_bug.cgi?id=11843. -- Arun Raghavan (http://nemesis.accosted.net) v2sw5Chw4+5ln4pr6$OFck2ma4+9u8w3+1!m?l7+9GSCKi056 e6+9i4b8/9HTAen4+5g4/8APa2Xs8r1/2p5-8 hackerkey.com _______________________________________________ Dashboard-hackers mailing list Dashboard-hackers@... http://mail.gnome.org/mailman/listinfo/dashboard-hackers |
|
|
Re: HTML mimetype> > And no, beagle's HTML filter does not index
> > application/x-mozilla-bookmarks file. Its trivial to add the mimetype to > > the HTML filter but I wonder if that is the right thing to do. Till this > > issue is resolved, don't be surprised if your html files are not indexed! > > The problem is partly due to > > shared-mime-info, so anybody with shared-mime-info-0.22 [1] will face the > > same problem. > > Anyone knows anything ? > > Found this 2 month old bug -- > https://bugs.freedesktop.org/show_bug.cgi?id=11843. Aha - right. Further investigation reveals that the problem is due to a commit for the bug https://bugs.freedesktop.org/show_bug.cgi?id=266. IMO the fix for #266 is incorrect, but as always, it takes months and years to get attention of xdgmime/shared-mime-info developers. Reverting that particular change (mentioned in 266#5) fixes this problem. Tell your distribution to enable HTML filtering by temporarily reverting that change http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?r1=1.245&r2=1.246 - dBera -- ----------------------------------------------------- Debajyoti Bera @ http://dtecht.blogspot.com beagle / KDE fan Mandriva / Inspiron-1100 user _______________________________________________ Dashboard-hackers mailing list Dashboard-hackers@... http://mail.gnome.org/mailman/listinfo/dashboard-hackers |
| Free embeddable forum powered by Nabble | Forum Help |