Question

I've got a script to post some data to wordpress using xmlrpc.

If I use a simple string for the body like "This is a test" it works fine.

However, if it has any HTML formatting in it, it gets horribly mangled when trying to add the post.

How do I post html content to wordpress with xmlrpc?

Was it helpful?

Solution

Here's a plugin that fixes a problem with some versions of an xml library that strips html: Plugin – LibXML2 Fix | Joseph Scott

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top