?

Log in

No account? Create an account
Batch editing - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

Batch editing [Feb. 9th, 2002|11:55 pm]
LiveJournal Client Discussions

lj_clients

[erebrandir]
I've got a friend who's in a bit of a jam. Her roommate discovered her LJ, and, along with everyone else in her dorm, began reading it (which spoke extensively and disparagingly about those very people). My friend immediately deactivated the journal. I stepped in and offered to write a program to go through and auto-mark all 375 of her entries to friends-only. It didn't work too well. It was a rather slipshod solution—it relied on parsing the output from talkread and the calendar view to obtain the itemids of her entries. There were too many exceptions that I hadn't taken into account, and the thing flopped, although it was able to mark entries friends-only once it obtained the itemids.

I tried to figure out the LJ protocol and such by poring over the MFC code, but I just lacked the C++/MFC experience to modify it into something to fit this problem. I don't think it would be a difficult problem, if I knew what I was doing.

I was just wondering if anyone out there has done any work on batch editing of entries, or anything else which might lend itself to this. Also, my friend has started a new LJ, but is wondering if it would be possible to have her entries from her old LJ transferred to her new one (and perhaps simultaneously marked friends-only). I told her that this would take an act of the gods (i.e. a sysadmin), and that I wasn't sure if the gods even did things like that for people. It seems like it would be an easy matter for someone with direct access to the database, but I know that things must be busy for the guys at the top.

Any feedback at all would be appreciated. Thanks.
linkReply

Comments:
From: evan
2002-02-09 10:15 pm (UTC)
decklin wrote a program to do it the right way. Try talking to him.
(Reply) (Thread)
[User Picture]From: decklin
2002-02-10 07:23 am (UTC)
Actually, the right way would be on the server side, by finally fixinf foreach_entry. But, yeah, my script works. I'll email it to this person.
(Reply) (Parent) (Thread)
[User Picture]From: babybeaver
2002-03-06 12:21 am (UTC)
Did you say you had something that can make all previous posts friends only? I'm interested if you do.
(Reply) (Parent) (Thread)
[User Picture]From: decklin
2002-03-06 06:19 am (UTC)
Yes. It's a perl script that uses Livejournal.pm. I'd rather not just put it up somewhere where anyone can download it because of the potential server load that it can create. But I can send it to people.
(Reply) (Parent) (Thread)
[User Picture]From: babybeaver
2002-03-06 11:07 am (UTC)

Re:

I'm not sure on terms or how to go about using a perl script or what lj.pm is. :/
(Reply) (Parent) (Thread)
[User Picture]From: babybeaver
2002-03-10 03:22 am (UTC)
Because I'm computer illiterate does that mean you won't help me?

I'm really needing to make all my previous posts friends only.
(Reply) (Parent) (Thread)
[User Picture]From: decklin
2002-03-10 08:46 am (UTC)
I'm sorry, I didn't think you were interested. Please email me or get a hold of me on Jabber.
(Reply) (Parent) (Thread)
[User Picture]From: sameer
2002-02-10 12:03 pm (UTC)
i am working on this sort of thing for my client but it's still a few months off.
(Reply) (Thread)