XML-RPC problems
-
I’m trying to post to a wordpress install using xmlrpc.php and I can’t for the life of me figure out the format I should be passing dateCreated.
In line 1310 of the xmlrpc, we see the content struct being modified by the getISO() function, but how is that possible?
$dateCreated = $content_struct[‘dateCreated’]->getIso();
For what it’s wroth, here’s what I’m trying to pass as a date which as far as I know is within spec…
$content[‘dateCreated’] = date(‘Ymd H:i:00’,mktime(0,0,0,12,12,2007));
$content[‘dateCreated’] = str_replace(‘ ‘,’T’,$content[‘dateCreated’]);Thanks for any help you can provide
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘XML-RPC problems’ is closed to new replies.