Re: Word to text translation



kenoli wrote:
Does anyone know a class or other script for translating the contents
of a MSWord document into a text file with simple formatting, e.g.
paragraph breaks, not totally mangling lists, etc. so it can be stored
in a text field in a mysql database.

The point of this is storing data from documents so that selections
can be cut and pasted into another database where it will be utilized
as text content in a database driven web site.

I realize that one way to do this is to simply link to the actual
MSWord file located in a directory. Putting it into a database field,
however, would be useful as I don't care about the formatting, aside
from keeping it readable. Having it in this form makes it possible to
easily copy and paste stuff from fields in the one database to fields
in the database driving the web site.

Thanks,

--Kenoli

Don't know of anything that does that directly.
You could export them from Word as html files - it is at least text, and there are parsers for html.

.


Quantcast