On Nov 21, 2011, at 2:00 PM, Javier Quarite <[email protected]> wrote:

> 
> 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 :/ 

>From my original response:

-----
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
-----

Docvert is written in Python, but can be run as a command line utility. Like 
the other utilities that convert_attachment_to relies upon, 
convert_attachment_to would make a system call to docvert and grab the result.

So definitely not a pure ruby solution, but convert_attachment_to acts as ruby 
interface to these existing utilities.

Hope that clears it up.

Cheers,
Walter

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to