When data is coming from HTTP (...) URL, it’s stored in a temporary file that’s not deleted after processing.
Add our mime types to standard Python module.
>>> from openxmllib import openXmlDocument
>>> doc = openXmlDocument(...)
>>> doc.textDocument(target_directory)
(this may be not possible for spreadsheets)
>>> from openxmllib import openXmlDocument
>>> doc = openXmlDocument(...)
>>> doc.htmlDocument(target_directory)
This requires to find open source XSLT stylesheets.
FIXME: more to say here
...Waiting for feedback ;o)