# Open Document to text conversion require 'zip/zip' PlainText.extract { from :odt as 'application/vnd.oasis.opendocument.text' aka "Open Document Format for text" with {|source| Zip::ZipFile.open(source){|zipfile| zipfile.read("content.xml").split(/]+>/,'') }.join("\n") } } which_should_for_example_extract 'written with OpenOffice.org', :from => 'basic.odt' }