[wp-xmlrpc] Problems with dateCreated in metaWeblog.newPost/editPost

Daniel Jalkut jalkut at red-sweater.com
Sun Apr 13 06:33:50 GMT 2008


Joseph, I think your instinct to be skeptical because of the lack of  
complaints among blog clients, is correct.

Have you confirmed the problem? I just tested with MarsEdit and  
setting a date on a new post seems fine, with a cargo like:

			<member>
			<name>dateCreated</name>
			<value><dateTime.iso8601>20080414T06:27:14Z</dateTime.iso8601></ 
value>
			</member>

There may be something nuanced that is wrong with the API, but it's  
not affecting me. I suspect it's not affecting other clients, either.   
I haven't looked closely at the fix that the bug reporter is  
proposing. As long as it doesn't break the current working behavior  
I'm not opposed to it.

Daniel


On Apr 13, 2008, at 1:44 AM, Joseph Scott wrote:
>
> Ticket 6612 ( http://trac.wordpress.org/ticket/6612 ) points to a  
> blog post ( http://www.franzone.com/2007/07/30/wordpress-xml-rpc-patch-for-metweblog-newpost-method/ 
>  ) that details a problem with the dateCreated field in  
> metaWeblog.newPost/editPost.
>
> I was rather surprised to confirm this bug as detailed in the post.   
> I figured if we'd had this problem for so long, one of the blog  
> client authors would have complained about it before now :-)
>
> I've attached a simple patch to the ticket that addresses this  
> issue.  But date/time fields are particularly fragile in the current  
> blog APIs, so I'd really like to get some feed back from folks in  
> the field who have to deal with this before pressing forward.
>
> --
> Joseph Scott
> joseph at randomnetworks.com
> http://joseph.randomnetworks.com/
>
>
>
> _______________________________________________
> wp-xmlrpc mailing list
> wp-xmlrpc at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc



More information about the wp-xmlrpc mailing list