?

Log in

No account? Create an account
Easy way to adjust metadata without repeated traffic? - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Easy way to adjust metadata without repeated traffic? [Mar. 22nd, 2006|03:18 am]
LiveJournal Client Discussions

lj_clients

[inoshiro]
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.
linkReply

Comments:
[User Picture]From: jwm
2006-03-23 05:28 am (UTC)

From what I've seen of the livejournal source code (the best reference in all things LJ), the flat/XML interface is as good as it gets, which means small changes to existing postings are expensive on the wire.

(Except for changing tags, where you can cheat and submit to the html interface after you grab an auth code from the tag editing form. This means that you have to hit two URLs, and one will send you all your tags, but that's generally cheaper than resending large comments.)

(Reply) (Thread)