Home  »  Windows  »  Databases
libsharedmime for liunx 0-5
libsharedmime for liunx 0-5
Authorize : Freeware Free

Requirements : No special requirements

Publisher : Matthew Allen

OfficeWebsite : http://www.memecode.com

OS Support : Linux

Servers
  • USA
Content
Mime Database Query.
Editor: This is my implementation for libsharedmime. It reads the Shared Mime Info database and returns you the MIME-TYPE of a file. FreeDesktop make this database freely available, but they dont seem to be distributing a library to read it anymore (Its no where in their CVS that I can find).
It is different to the freedesktop version in the following ways:
Licensed under LGPL instead of the GPL at aid all developers. *sigh*
Has NO dependencies. Which is an important feature in this world of tangled packages all depending on each other.
Probably not as fast?
Not as complete (yet)?
Added code to check for a text file if the content lookup fails, if it matches it gets a text/plain type.
Stopped the content lookup being performed on directories.
Fixed a bug in the magic matching code that caused valid matches to FAIL. This means that some files will now return the correct mime type as opposed to a Default not found type. you can free download libsharedmime for liunx 0.5 now.

Hot Download

New Download