Yes, there are ways to save files server-side. I wrote up an example a while back. This basically changes WebODF's save function from downloading on the client to an HTTP form post, which hits a PHP script that writes the data to a file.  You'll have to convert the PHP into Ruby.

https://open.nlnet.nl/pipermail/webodf/2014-July/000132.html

On Sun, Jul 26, 2015 at 3:03 PM, Jose Alonso Hernandez <jah@ignis.software> wrote:
Hi guys, 

I'm new to the community, congratulations for all the great work that you are doing, webodf is an awesome tool.

Here I go with my first question to the community. I'm working with the webodf javascript library, and I'm using the LocalEditor that is provided as an example, currently I embedded the LocalEditor into a Rails Application that I'm developing and I would like to know ih there's currently a way to save the generated document to the server side ?

Right now the FileSaver.js library exports the document to the client side, but I know that for example ownCloud Documents use the WebODF library and that they can handle the saving to the server side, is there any example on how to accomplish this ?

Regards,

--
José Alonso Hernández
CEO


       

  
+52 656 135 3846  jah@ignis.software |  Ciudad Juárez, Chihuahua, México | 

This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Company Name is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company.

_______________________________________________
WebODF mailing list
WebODF@nlnet.nl
https://open.nlnet.nl/mailman/listinfo/webodf