March 22nd, 2006

RockMan

Easy way to adjust metadata without repeated traffic?

If I'm reading the XMLRPC for edit-event correctly, it looks like I can't just ignore the year/month/day/text fields when updating the usemask field to something else (such as private).

I was writing a small script that was going to delete all my older entries, until I found out just how bad it was to get comments before doing that. I'd like to know if there is a method by which I can just twiddle these bits on entries without having to do a complete back/forth trip to get the fields.

Also, does anyone know how to use a generated session id with the XMLRPC interface? They provide examples for generation and expiration, but I haven't run across an example of using it; using a challenge authentication each time further adds to the wasteful amount of network connections my script is using.