PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > External Binaries

Reply
 
Thread Tools
Old 02-16-2004, 09:23 AM   #1
Hoek
Green Mole
 
Join Date: Feb 2004
Posts: 17
Catdoc garbage

I use catdoc ('newest' version 0.93) to index msword documents. Word-97 format works fine, but newer Word-format (2000 or 2002) gives a lot of garbage in the search result. Is it possible to prevent this?
Hoek is offline   Reply With Quote
Old 02-16-2004, 01:22 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. From http://www.45.free.net/~vitus/ice/catdoc/ ...

Current development version of catdoc is 0.93.3. It finally is able to autodetect unicode/non-unicode Word files and also recognizes (and hopefully parses) MS-Write files and rtf. It also eliminates garbage which troubled prevoius version of catdoc. Note that footnotes and fastsaves still not handled.

Maybe try version 0.93.3 instead.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 02-23-2004, 12:12 AM   #3
Hoek
Green Mole
 
Join Date: Feb 2004
Posts: 17
We are already using version 0.93.3. Sometimes you get garbage when indexing short doc-files, due to lots of drivers-info in the specific word-documents.
Hoek is offline   Reply With Quote
Old 02-23-2004, 01:57 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Perhaps, if the garbage is in the same format, you could strip it out by using a regex in the phpdigCleanHtml function, or maybe the author of catdoc can give you some ideas to prevent the garbage.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
catdoc with WinXP sandychan External Binaries 0 07-12-2006 06:50 PM
garbage collection baskamer How-to Forum 1 12-19-2004 09:28 AM
compile catdoc loicoco External Binaries 2 04-30-2004 04:45 AM
catdoc Tanasja External Binaries 7 11-07-2003 01:55 PM
catdoc mario External Binaries 1 10-28-2003 07:13 PM


All times are GMT -8. The time now is 10:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.