?

Log in

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

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

LJSM: Livejournal backup tool [Dec. 21st, 2003|11:33 pm]
LiveJournal Client Discussions

lj_clients

[ati]
Hi,

I've written Livejournal backup tool, LJSM.
It saves posts with comments, memories and graphics of any user. Converts relative links to absolute. Creates contents page, supports http proxy.

There are two companion tools:
ljpms -- script for batch posts manipulation
allin1 -- script for joining posts downloaded by ljsm into one file in reverse chronological order
linkReply

Comments:
From: mikeprime
2005-01-07 01:22 pm (UTC)

A question on LJSM

I used LJSM on my livejournals and it worked beautifully, but I also have journals on Deadjournal.com that I'd love if there was a way i could use your tool on. unfortantely, I don't know anything about programming, or I'd try to work it out myself.
I do know that deadjournal is similar enough that most tools i use on LJ work with DJ once i changed the four letters in the server area that make it say Dead instead of livejournal. -l-

-Corin
(Reply) (Thread)
[User Picture]From: ati
2005-01-07 06:04 pm (UTC)

Re: A question on LJSM

if you can run perl scripts, change line
use constant BASE_URL => 'http://www.livejournal.com/';

in ljsm.pl to point to any other site that uses similar interface.

There is currently no way to change BASE_URL in Windows executable version of LJSM
(Reply) (Parent) (Thread)
From: mikeprime
2005-01-07 06:36 pm (UTC)

Re: A question on LJSM

There is currently no way to change BASE_URL in Windows executable version of LJSM

Which is what i am using. -l- thank you anyway.
(Reply) (Parent) (Thread)
From: mikeprime
2005-01-07 08:18 pm (UTC)

Re: A question on LJSM

So i installed perl on my machine so I could run from the perl scripts, and for both standard and modified for DJ versions, when i try to run ljsm from my computer, i get the following, but no errors running ljpms

C:\My Documents>perl ljsm.pl
Can't locate HTML/SimpleLinkExtor.pm in @INC (@INC cont
/site/lib .) at ljsm.pl line 83.
BEGIN failed--compilation aborted at ljsm.pl line 83.

can you help at all?
Sorry if this is a simple thing, but this is my first experimentation with using perl.
(Reply) (Parent) (Thread)
[User Picture]From: ati
2005-01-07 08:41 pm (UTC)

Re: A question on LJSM

you should install several standard perl modules
if you are using ActiveStates's perl, use ppm tool to do it.
e.g.

C:\My Documents> ppm
PPM interactive shell (2.1.5) - type 'help' for available commands.
PPM> verify -upgrade HTML::SimpleLinkExtor
Upgrade package 'HTML-SimpleLinkExtor'? (y/N): y
Bytes transferred: 2194
Installing C:\Perl\site\lib\auto\HTML\SimpleLinkExtor\autosplit.ix
Installing C:\Perl\site\lib\HTML\SimpleLinkExtor.pm
Writing C:\Perl\site\lib\auto\HTML\SimpleLinkExtor\.packlist
Package HTML-SimpleLinkExtor upgraded to version 0,72,0,0
PPM>


you may also wish to open ljsm.pl in any text editor and read the text near the beginning of the file.

don't hesitate to ask me if there is any other questions.
(Reply) (Parent) (Thread)
From: mikeprime
2005-01-08 08:18 pm (UTC)

Re: A question on LJSM

Since ya offered.:

figured out how to use the ppm tool to get some of what i needed, but it's currently asking for apparently isn't in a repository. But i did find it online, so how do i install from a downloaded archive?

thanks for the help!

-Corin
(Reply) (Parent) (Thread)
[User Picture]From: ati
2005-01-08 09:02 pm (UTC)

Re: A question on LJSM

if you got an archive from cpan.org you should also get microsoft's nmake.exe

then unarchive perl's module, cd to that directory and run

perl Makefile.PL
nmake
nmake install

this is a standard process for installling perl modules without ppm tool
(Reply) (Parent) (Thread)