[wp-xmlrpc] Updating Custom Fields Using metaWeblog.editPost

David Weiss dave at daveweiss.net
Wed Apr 8 19:59:03 GMT 2009


OK - I did just what I said - did a get on the post, inspected all the
custom_fields in the array using a switch statement, then updated the fields
with the new values, and finally saved the post via metaWeblog.editPost.

Seems to work OK.



On Wed, Apr 8, 2009 at 11:03 AM, Joe Cheng <Joe.Cheng at microsoft.com> wrote:

>
> > I'd somehow have to do a getPost, then inspect the custom_fields array to
> figure out what meta_ID is attached to the specific field I'm wanting to
> update.
>
> David, is this really such a big deal for you to do? You talked about
> server/network load earlier, but we're just talking about a couple of extra
> XML-RPC requests at authoring time, and only a few extra lines of code.
>
> _______________________________________________
> wp-xmlrpc mailing list
> wp-xmlrpc at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-xmlrpc/attachments/20090408/5af0a752/attachment-0001.htm


More information about the wp-xmlrpc mailing list