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

Daniel Jalkut jalkut at red-sweater.com
Wed Apr 8 14:30:27 GMT 2009


Dougal, thanks for the perspective!

On Apr 8, 2009, at 9:54 AM, Dougal Campbell wrote:

> Keep in mind that even if you have multiple custom fields attached  
> to a post with the same key, you can fetch them all as an array with  
> a single call. The API consolidates them for you. It may look  
> confusing to some people if you are *expecting* to have unique keys  
> per post, but it still seems to me like the best compromise between  
> simplicity and flexibility. Every other way I could think of to do  
> it becomes over-complicated pretty quickly.

So if I was to encounter a "custom tags" type entry, it would have a  
number of tag-name custom fields, each with a different field ID,  
right?  When you say the "API consolidates them for you" is this what  
you're talking about?

Or are you referring to some other custom-field specific API?

Daniel



More information about the wp-xmlrpc mailing list