Rapid blog posting

I’ve added a script to my blog system to make posting easier. The script uses unoconv from the Libreoffice suite to convert Writer documents to html posts.

Check out the script: here.

Run the script with like this:

odt2posts.py /blog/content \
2016-01-02-03-12-00_file1 odt

The content directory will be populated with posts in accordance with the bloggy system.

The title and tags of the post will be taken from the Writer document meta data. The date of the post is taken from the filename of the document.

Leave a Reply

Your email address will not be published. Required fields are marked *