Re: [Tracker] chm mime type



Hi Rusi,

 Fairly easy. You need to implement a extractor module for that mimetype. It means to implement a couple of 
mandatory functions, build it and install it in the right location.

You have some instructions about how to write it here:
http://library.gnome.org/devel/libtracker-extract/unstable/libtracker-extract-How-to-use-libtracker-extract.html

And you can use any of the other already available extractors as example:
http://git.gnome.org/browse/tracker/tree/src/tracker-extract

To test it while developing, you can set the environment variable TRACKER_EXTRACTORS_DIR to the directory 
with your module, and then run tracker-extract -f [YOUR_CHM_FILE]

 Probably the IRC channel (#tracker in GIMPnet) is the best way to get "interactive" help if you have any 
problem.

 Regards,

Ivan

________________________________________
From: tracker-list-bounces gnome org [tracker-list-bounces gnome org] on behalf of ext Rustom Mody 
[rustompmody gmail com]
Sent: 21 March 2011 09:49
To: tracker-list gnome org
Subject: [Tracker] chm mime type

Hello

I am interested in tracking/indixing files with chm mime type
extract_chmLib is already available for this.

How easy is it to do this?

Thanks

Rusi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]