Compile ODT files into HTML

To install, run nikola plugin -i odt

Compiler plugin to support the ODT format used by LibreOffice and OpenOffice.

Warning: supports two-file posts only. Use with nikola new_post -2 -f odt.

Note: Doesn't support shortcodes (it's WYSIWYG, so no reasonable way)

Suggested Configuration:

# Add the odt compiler to your COMPILERS dict.
COMPILERS["odt"] = ('.odt',)

# Add odt files to your POSTS, PAGES
POSTS = POSTS + (("posts/*.odt", "posts", "post.tmpl"),)
PAGES = PAGES + (("stories/*.odt", "posts", "post.tmpl"),)


  • odfpy (Python package)

Issues? Questions?

You can report issues with this plugin and request help via GitHub Issues.