Re: [Tracker] chm mime type



On 21/03/11 08:26, ivan frade nokia com wrote:
Hi Rusi,

Hi,

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.

Great advise from Ivan there. I just wanted to warn you, these APIs and examples have changed in master recently. So depending on where you're targeting, you might want to look at the source.

The above suggestions are fine for 0.10.x.

--
Regards,
Martyn



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