Hi,
I am using XMl-RPC via PHP and the metaWeblog API to edit existing WP posts. These posts have tags and one custom field.
Using the editPost API, I can supply tags ("keywords") to Wordpress, but doing this only ADDS those tags to the existing post. I don't know how to remove any tags already attached to that post that I no longer want. In other words, I'd like to add AND remove tags for a post via XML-RPC.
On a related note, the custom field. Each post has one custom field, let's call it "custom1". This field is created with the initial post and is assigned a value, say "value1".
I can't figure out how to edit "value1" via XML-RPC. Again, I can pass custom field data through the metaWeblog editPost API. But if I pass "custom1" => "value2", it creates a SECOND custom field with "value2". Now I have two custom fields. I want to REPLACE the existing custom field (or delete it, and add a new one with the same name and new value).
Any ideas? Is it possible to edit WP posts with this level of detail via the XML-RPC API?
thanks!