I don't know if it's a big deal or not. As I explained in an earlier post, I'm a bit of a noob at both WP and XMLRPC. If there is a simple request that can be made that solves the problem for me, I haven't found what that is.<br>
<br>Maybe I just don't know enough on the subject yet. Maybe if I give a little more detail to my issue and thoughts, it would help.<br><br>Let's say I have 10 custom fields I want on every post. It's the same 10 fields all the time.<br>
<br>For a new post, I can set them just fine with metaWeblog.newPost. For an update, as far as I can tell, I have to:<br><br>1. do a metaWeblog.getPost.<br>2. loop through all of the custom_fields for each of the 10 custom fields, and inspect the array so that I can match up each of the 10 custom fields with the existing custom field.<br>
3. do a metaWeblog.editPost<br><br>I'd like to find a better way to do step 2, I just don't know what that better way is.<br><br>I don't know what my server and network load will be yet, but I'm just preparing myself for a possible issue.<br>
<br><div class="gmail_quote">On Wed, Apr 8, 2009 at 11:03 AM, Joe Cheng <span dir="ltr"><<a href="mailto:Joe.Cheng@microsoft.com">Joe.Cheng@microsoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="im">
<div dir="ltr"><font color="#000000" face="Tahoma" size="2"></font> </div>
<div style="direction: ltr;">> 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.</div>
<div style="direction: ltr;"><font face="times new roman"></font> </div>
</div><div style="direction: ltr;"><font face="times new roman">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.</font></div>
</div>
<br>_______________________________________________<br>
wp-xmlrpc mailing list<br>
<a href="mailto:wp-xmlrpc@lists.automattic.com">wp-xmlrpc@lists.automattic.com</a><br>
<a href="http://lists.automattic.com/mailman/listinfo/wp-xmlrpc" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-xmlrpc</a><br>
<br></blockquote></div><br>