We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Document to database

Hi,

I have been developing a wordpress plugin using .net. Everything is going okay so far. There is a need for the app now to be able to convert a word document to html and insert it into a post table of the wordpress database. I have extracted images and saved them into the gallery. The datatype of the target field where my converted html goes is longtext. How can I do that?
Thanks in advance.

Hi Julian,

Your query looks more related to WordPress. You can use WordPress function wp_insert_post() to save any content in the database. Please go through this
https://developer.wordpress.org/reference/functions/wp_insert_post/ and contact WordPress team for more details if required.

Best Regards,