Meaningful diff for LibreOffice files in version control

I came across this tip on Martin Paul Eve’s blog:

In any case, the key thing that will make this viable for me is having a way to see the diffs within an OpenOffice (or LibreOffice document), so I want to share how I’ve got that working (I …