scanning word document in ruby

I am new to the ROR and just got stucked into something....
....that is i have to scan a word document through ruby...
Please suggest me how to do......

googling for
ruby parse microsoft word
yields some hits that might be of help, but it is not going to be easy.

Or have you already rejected those suggestions?

Colin

Check out https://github.com/kete/convert_attachment_to.

It relies on command line utilities to do the conversions.

It has two caveats:

* it hasn't been used with Rails 3 or above and therefore you may need to fork it to make it work
* when it was written the utilities didn't support .doc-x files, you might need to update it to do that

Cheers,
Walter

catdoc?

http://www.wagner.pp.ru/~vitus/software/catdoc/

If you are dropping down to the utility level, docvert is more heavyweight, but handles more cases (including doc-x):

https://github.com/holloway/docvert

I'll probably at it to convert_attachement_to at some point as an option.

Cheers,
Walter

If you are dropping down to the utility level, docvert is more heavyweight, but handles more cases (including doc-x):

https://github.com/holloway/docvert

I’ll probably at it to convert_attachement_to at some point as an option.

Cheers,

Walter

That’s for python… or is there somethiing I’m missing here :confused:

If you are dropping down to the utility level, docvert is more heavyweight, but handles more cases (including doc-x):

https://github.com/holloway/docvert

I’ll probably at it to convert_attachement_to at some point as an option.

Cheers,

Walter

That’s for python… or is there somethiing I’m missing here :confused:

Is there a way to read a doc/pdf that is uploaded to my rails app?

using a gem or something?

Javier

Is that not what this whole thread has been about?

Colin

Yes there is pdf toolkit for ruby.

Please check this link http://mishmashmoo.com/blog/?p=4

Regards

sathia
http://www.sathia27.wordpress.com