TextSearch (Content plugin for fulltext search in DOC)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

TextSearch (Content plugin for fulltext search in DOC)

Post by *Alextp »

This Content plugin allows to perform full-text search in any documents, which have command line converters to the plain-text form.

Currently included converters are:

- MS RTF: Rtf2Txt converter (built-in)
- OpenOffice.org: OdfToTxt converter
- Adobe PDF: Xpdf converter

Other useful converters not included into distribution are (links in Readme):
HTM HTML RTF PDF WPD HLP DOC XLS PPT XML
CS CPP H TXT HTM HTML etc

Homepage
Last edited by Alextp on 2007-08-23, 22:29 UTC, edited 3 times in total.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Good idea. Several months ago I've been looking for such converter and the only freeware thing I found was a php script. I can send it to you, maybe you'll understand russian comments ;)
The whole thing is 11.1 KB of code.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Better an EXE or DLL. cannot use php in plugin.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Of course. But if you won't find such thing, this is so small that you could rewrite it to whatever you want. Even if you don't know php it shouldn't take more than 1 day ;)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

OK, send it to me. :)
My e-mail is in the site at the signature.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Sent.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Received. OK, it is a 8 KB php script which is hard to trsanslate to Delphi/C. It's a separate job (not for a day for me). There is a lot of code there...

Other variants?
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

This work but is a GUI application.
Page
Direct link to Source
Probablemente no
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Thanks!
Even MFC is better than PHP :lol:
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2dott
This work but is a GUI application.
Page
Direct link to Source
Hmm, does it depend on OLE and Word application?
It seems it does, so I will not use it.

I already have Delphi source with OLE usage which can convert doc to txt.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Plugin released here.


Currently includes only OpenOffice.org converter. Converter for DOC/XLS is in search.
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

Here there is another one doctotext, but 15 Mb are a lot of Mb.
Probablemente no
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

but 15 Mb are a lot of Mb.
Yep, 15 Mb is too large.
In zipped form it's 5 Mb but too large for plugin.
burekbrigada
Junior Member
Junior Member
Posts: 13
Joined: 2003-11-13, 23:51 UTC
Location: Serbia

Post by *burekbrigada »

Alextp wrote:Converter for DOC/XLS is in search.
If open source is OK then :
Antiword: a free MS Word document reader
http://www.winfield.demon.nl/
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

I cannot run AntiWord from non-default directory. So cannot be used in plugin folder. I'll put link to AntiWord in my Readme though.
Post Reply