[wp-testers] [Fwd: 126.96.36.199 and categories]
ecto at kung-foo.tv
Sun Jul 3 00:23:56 GMT 2005
I just joined this list. If there's any other list I should be on to
prevent any future mishaps between ecto and WP let me know.
In response to
> A typical post publication scenario with the MT API is:
A typical post publish scenario with MT is actually:
That's always been the case with MovableType and TypePad. I
personally confirmed that with Ben Trott back then when ecto was
still Kung-Log. This was the case because mt.publishPost is slow on
MT. See also:
"After discovering my error, I slimmed the procedure down to one
rebuild, like so:
Send a metaWeblog.newPost request with the publish boolean set to false
Set the category or categories using mt.setPostCategories
Set the publish boolean to publish using metaWeblog.editPost
I reduced the execution time of my script by about 75%. Whew..."
This is easily fixed in your WP:
When you get an metaWeblog.editPost without category info, first
check if there are categories set already for that post id and use
that, otherwise set the default category.
If you need a copy of ecto to test your xmlrpc changes, just let me
know. ecto has a very useful console interface that allows you to see
what is being sent and received over xmlrpc.
More information about the wp-testers