Search code examples
phppythonopendocument

I want to write multiple images to an odt file either in python or php


I want to write multiple image files to a odt file. I will be specifying a dir and the script will take it from there thru a loop. But where do i start? I have never done anything like this before!

I found this python code, which can convert html 2 python... so we can parse an html first and then call this one. But there is no reference on how to use this.

html2odt code


Solution

  • Atlast I found a PHP way to write odt direct! Its well documented.

    http://www.odtphp.com/

    I have also written a complete practical solution in php. You can upload multiple images and get the odt document generated.

    The code is hosted at http://code.google.com/p/images2odt/ The first post is done here.