Re: Extending the Gnome search capabilities to be able to search in OOo files

>>>>> Curtis C Hovey writes:

 > On Sat, 2004-01-24 at 08:34, Tino Rachui wrote:
 >> I would like to extend the Gnome search capabilities to be able to
 >> search in files.  Are the search capabilities of
 >> Gnome extensible and if yes is there any documentation, sample
 >> code, or other help that brings me a step forward?  Any help
 >> highly appreciated.

 > The would be a challenging task for gnome-search-tool, it just a
 > GUI for find and grep.

I have extended the search capabilities of gnome-search-tool by
wrapping it in a script which
1. adds a directory to PATH that contains a "grep" script that
   converts openoffice (and word) documents to text before running
   /bin/grep on it and then
2. runs /usr/bin/gnome-search-tool

Of course this is a horrible hack and very slow, but seems to be
reliable, and I keep telling myself that there's no point doing
anything fancier (like hacking gnome-search-tool to use an indexer
like htdig or namazu) since medusa is on its way.  I can put the
scripts on the web, if you think you might use them Tino.


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