Master of the Oblivious, Destroyer of Souls (pyran) wrote in lj_clients,
Master of the Oblivious, Destroyer of Souls
pyran
lj_clients

Edit Event Workaround

So I'm trying to change the security of posts en masse (all entries, by month, or by day). The problem is that it looks like I need 2 server hits per post, minimum (more if you keep in mind that half the time I get ServerProtocolViolations -- according to the .NET docs, "The server response was not a valid HTTP response."). If someone is changing 500 entries, and each server hit takes 5 seconds, that adds up pretty quickly. Now imagine if that was 5000.

What are the hits?
1.) Get the itemid using getevent (displayitemid is the one that export.bml gives, and that is (itemid + a random number) * 256, so you need to get the actual id).
2.) The actual editevent hit.

Does anyone know of a workaround for this? Is there one? I'd like to think that changing a journal's security (something I've heard a lot of calls for) wouldn't require running the program for 15 straight hours to do it.
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 2 comments