-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
convert to html #6
Comments
By default the request will response the result out put of the file after conversion. Example:
|
yes, works perfect for me, i have a problem whe convert a doxc to html, i can use inline images, but if i use a standet html output, can donwnload images? |
--form 'convert-to=html:HTML:EmbedImages' \ error 500 ? |
Hi @DivagoNM, Looks like currently unoserver does not support this. According to unoconv/unoserver#110, XHTML filter may handle it, but I couldnt make it work in this API without other errors. As a temporary workaround I just made additional API container that handles inserting the images into the html before returning the document. You can refer to https://github.com/miikatoi/unoserver-rest-api-wrapper on how to do it. Hope it solves your problem as well. |
Updating my findings here. XHTML filter works correctly in some cases, but raises an error in others. For example:
Here is the request I used:
|
Thanks!! |
hi I try convert docx to html,it works great, but the images are stored in the unoserver folfer, how i can return this images?
The text was updated successfully, but these errors were encountered: