?

Log in

No account? Create an account
Downloading all entries - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Downloading all entries [Jul. 13th, 2003|07:12 pm]
LogJam

logjam

[gconnor]
Can you call LogJam from the command line? Can you use it to download all your entries, like running from cron?

I don't have GTK and don't need a GUI, so perhaps LogJam is not the tool I am looking for. I might be convinced to install GTK but I want to figure out if I can use it without the GUI first.

(I used to have a script that would visit /export.bml for me every night and download the current month. But, that script now breaks because "You must be logged in to use this tool". wget doesn't handle cookies well and doesn't handle POST at all. So, I am now shopping for a script or tool that will download my whole journal) If LogJam isn't intended for this... can someone point me in the direction of something I could use?

Thanks for any help.
gregc
LinkReply

Comments:
[User Picture]From: abiku
2003-07-13 07:18 pm (UTC)
I can't answer the LogJam question, but I can point you here.
(Reply) (Thread)
[User Picture]From: gaal
2003-07-13 11:02 pm (UTC)
Yes, you can; and you can do it with a build of LogJam that isn't linked with GTK, too.

To sync your journal from the command line: logjam -y -u gconnor -p yourpassword

To build LogJam without GTK, pass the --without-gtk option to autogen.sh / configure.


This works just fine now, but please keep in mind that we are still working on the sync feature and change the storage format from time to time. When this happens you may need to move away your backup and re-sync the whole journal again; this is getting less frequent now. In any case we don't delete information out of the blue, so this may fit your purposes nicely.
(Reply) (Thread)
From: evan
2003-07-14 09:10 am (UTC)
I think it pretty much works now except that the "don't comment" option wasn't saved right...

(I really want to extend this to work on windows, too...)
(Reply) (Parent) (Thread)
[User Picture]From: freso
2003-07-29 05:19 pm (UTC)
I've GTK+ 2.0 and Win98 SE running on this comp., would your client be able to run? Would you want me to test and such for you? :)
(Reply) (Parent) (Thread)
From: evan
2003-07-29 05:26 pm (UTC)
(Reply) (Parent) (Thread)
[User Picture]From: freso
2003-07-29 06:07 pm (UTC)
Mmkay. Seen, will download to test.

And I see you've no Danish translators... if you want me to, I could probably make at least a partial translation... and you can be sure it will follow the conventions of lj_dansk :P
(Reply) (Parent) (Thread)
From: evan
2003-07-31 03:33 pm (UTC)
that would be nice!

but cvs is pretty broken right now. let me get back to you about it.
(Reply) (Parent) (Thread)
[User Picture]From: freso
2003-07-31 03:51 pm (UTC)
Sure :)
Are you using gettext, or... ?
(Reply) (Parent) (Thread)
From: evan
2003-07-31 03:59 pm (UTC)
yep!
(Reply) (Parent) (Thread)
[User Picture]From: freso
2003-07-31 04:06 pm (UTC)
Lousome :)
(Reply) (Parent) (Thread)