attuk
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: XML-RPC and cURLSThanks Scott, I am trying to make sure that I don’t post the same page/post more than once. WP happily creates a new URL for the same content when I try to post with IXR/XMLRPC.
Forum: Fixing WordPress
In reply to: XML-RPC and cURLSHi Scott,
Is there a way to detect duplicate posts or pages when using IXR xmlrpc to post ?Forum: Plugins
In reply to: Please help/Getting DateThanks I am using IXR now and it’s much easier !
Forum: Plugins
In reply to: Please help/Getting DateHi Scott,
Would IXR XML-RPC library the best to use for xmlrpc ?
I am struggling to encode
dateCreated in ISO in php using date(“c”) etc, I am thinking of using a library to make life easier.
BTW, I read your reply on http://wordpress.org/support/topic/330597
Thanks for any advice.Forum: Fixing WordPress
In reply to: How to scedule a Post using XMLRPC / metaWeblog.newPost ??Sorry to sound thick but how can I
xmlrpc encode iso8601 dateTime to get<member>
<name>date_created_gmt</name><value>
<dateTime.iso8601>20091113T12:30:00Z</dateTime.iso8601>
</value>
</member>My code is
$content = array(
‘dateCreated’ => “<dateTime.iso8601>date(“c”)</dateTime.iso8601>”,
);
$params = array(0,$username,$password,$content,true);
$request = xmlrpc_encode_request(‘metaWeblog.newPost’,$params);This keeps generating a Fatal error: Call to a member function getIso() on a non-object in xmlrpc.php on line 1564
Thanks for any advice