hello, you know you can create a simple client to connect to XML-RPC wordpress to publish post for example. but I try to send data from a file with $read, does not preserve the structure of xml me and gives me error, goes like this:
<?xml version="1.0"?>
<methodCall>
<methodName>metaWeblog.newPost</methodName>
<params>
<param>
<value>
<i4>1</i4>
</value>
</param>...
and should go like this:
<?xml version="1.0"?>
<methodCall>
<methodName>metaWeblog.newPost</methodName>
<params>
<param>
<value>
<i4>1</i4>
</value>
</param>
<param>...
you know if there's any way to fix this? Greetings
pd: server response...
<value><string>parse error. not well formed</string></value>