Given a url pointing to a valid Libreoffice file (odt
, ods
), converts it to a html
file.
sudo apt-get install libreoffice wget
./libreoffice2html https://raw.githubusercontent.com/OpenScienceRender/ExampleData/master/test.ods > output_spreadsheet.html
./libreoffice2html https://raw.githubusercontent.com/OpenScienceRender/ExampleData/master/test.odt > output_text.html