mimetype detection and other svn changes
- From: "D Bera" <dbera web gmail com>
- To: "Beagle List" <dashboard-hackers gnome org>
- Subject: mimetype detection and other svn changes
- Date: Mon, 26 Feb 2007 08:47:59 -0500
Hi all,
If you were concerned about incorrect mimetype detection by beagle,
you would be glad to know that mimetype sniffing has been improved in
svn trunk. The order of detection is
0) For email attachments and other sources that specify the mimetype, use that
1) From extended attribute "user.mime_type" (this is a freedesktop.org
recommendation)
2) Get mimetype from filename and mimetype from first 4K data of the
file. If name mimetype is a special case of the data mimetype, use the
name mimtype (e.g. tar-gz is a special case of gzip, so use mimetype
for tar-gz for *.tar.gz files); otherwise use data mimetype (so
incorrectly named jpeg would be correctly recognized).
There has been a few more changes in structure of index, extended
attributes and filtered properties in svn trunk. If you sync to svn
trunk, please be aware that there will be a lot of re-indexing. There
is a chance that there will be few more such changes in the next
couple of weeks, again requiring re-indexing. If you want to play safe
and only get the critical bug fixes, sync to the 0.2.16.2 release from
svn http://svn.gnome.org/svn/beagle/tags/BEAGLE_0_2_16_2/
Regards,
- dBera
--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]