Answer the question
In order to leave comments, you need to log in
How to convert xls/xlsx to html using Ruby/Linux?
There is a web application on rails. How to convert xls/xlsx to html using Ruby (or Linux OS) so that it can be displayed correctly on a web page?
Answer the question
In order to leave comments, you need to log in
libreoffice --headless --convert-to html file.xlsx
LibreOffice and OpenOffice are completely interchangeable.
1. gem roo
2. xls2csv (catdoc package), xlsx2csv + gem FasterCSV .
3. The ssconvert utility as part of the gnumeric package (requires Xorg installed).
As for text documents, definitely pandoc .
If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki markup, OPML, Emacs Org-Mode, Txt2Tags, Microsoft Word docx, EPUB, or Haddock markup to
... (many different formats)
Written in Haskell. The easiest way is to take a ready-made binary and not build it yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question