Hi Jim

Found this response to your question on Stack Overflow!

http://stackoverflow.com/questions/375861/how-to-parse-word-documents-with-ruby

bit of a hack - use JRuby and the existing Java libraries. Could also make a
system call to one of the Perl or Python libraries too, or write some Java
and use the libraries using a system call.

I've been in the situation where we had word running on an old machine in
batch mode converting stuff to RTF.

Maybe (and this is mad) upload to google docs and down again? There might be
a web service that will get it into RTF anyway?

I'm assuming that Ruby will do RTF but I could be wrong about that.. RTF is
relatively easy to parse though.

OR ... use openoffice and a macro via a system call?

F

On Wed, Dec 17, 2008 at 8:05 PM, <[email protected]> wrote:

> Any of you fine chaps know how to parse a word document and output the
> contents as html?
>
> I looked into win32ole but I assume this is for windows only.
>
> So, anyone have any other suggestions?
>
> - Ji
> >
>


-- 
Thanks and regards,

Francis Fish

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to