holmes221
Forum Replies Created
-
I did a trace on your plugin code.
on function jd_twit_xmlrpc:
2012-12-01 15:00:53 - jd_twit_xmlrpc triggerred. ID: #POST_ID# 2012-12-01 15:00:53 - value - is new : 0 2012-12-01 15:00:53 - value - _postDate : 2012-12-01 22:55 2012-12-01 15:00:53 - value - _postModified : 2012-12-01 23:00 2012-12-01 15:00:53 - option jd_tweet_default : 0 2012-12-01 15:00:53 - option jd_twit_remote : 1 2012-12-01 15:00:53 - value - postStatus : publishI send a post with postDate 2012-12-01 22:55, but my system time is 23.00. This is the result of my test.
Whether I set postModified on my client, it’s totally irrelevant. It will not use the given value.
And edit_date boolean doesn’t help either.What I don’t understand is why wordpress getPost give _postModified as system time. And your code use this to determine if it’s a new post or edit post. >_<
what data type you are referring for ‘date_edited’ flag ? boolean/bit or datetime ?
I only can find these in the API doc.
And I have tested setting those fields below and it doesn’t work either.datetime post_modified datetime post_modified_gmt http://codex.wordpress.org/XML-RPC_WordPress_API/PostsOR
datetime date_modified datetime date_modified_gmt http://codex.wordpress.org/XML-RPC_MetaWeblog_APIcan you suggest any custom fields that we can add as workaround ?
hi joe,
sorry to hijack this thread..
just curious is there any workaround on this bug?
I’m using metaweblog API – newPost method when creating new post.
And not entirely sure why new tweet is not posted.codex.wordpress.org/XML-RPC_MetaWeblog_API
Is there any custom field that we can use? Or what is your proposed solution since I’m writing my own xmlrpc client.
Note: I’m using wp3.4, but not using xmlrpc wordpress api, because its newPost and editPost methods are probably having bugs on terms/taxonomies.
Forum: Fixing WordPress
In reply to: Same Screen Options for all usersThere is a hard but effective way to set Screen Options for all users.
Found it here.http://www.sudarpo.net/2009/screen-options-in-wordpress-admin
Forum: Fixing WordPress
In reply to: WordPress not showing new posts from ectoI faced the same problem earlier. I send post using windows client to XML-RPC and was wondering why it doesn’t show up.
Solution:
Check on the posting time. It seems that XML-RPC will only use UTC time. If your time location is GMT+ (in my case GMT+8), it will create a future dated post… hence the post is not showing in HomePage.