I need to convert 1 file to many HTML pages (1 HTML page per 1 office document)
I know how to do the conversion outside of Nuxeo (python script, that can be run in command line or via web service). The result HTML pages can be put in a zip file, for example.
Then the HTML pages have to be attached to the original nuxeo document (file).
I don't know how to achieve this with Nuxeo.
I saw we can use external command-line converters but how to return a list of blobs ?
Then where to call this external conversion ? In an automation chain triggered by the "before document modification" event handler ?
As an asynchronous task ? But what will the user see when creating/modifying a doc ?
Any ideas or examples with such topics would by very appreciated !
Thanks