Log in

No account? Create an account
Feature Request - LogJam [entries|archive|friends|userinfo]

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

Feature Request [Mar. 30th, 2004|08:56 am]


A friend of mine, lifftchi, had the idea that logjam could upload his music that was playing on xmms to his website and insert a link into the entry so that his readers could listen to the same thing he was. I wrote a horrible hack of a patch to do just that, you can find details here, with results that look like this. I'm not suggesting my patch be incorporated or that a possible implementation of this feature should use the same ideas as I did. I am not proud of this code its really ugly, and handles errors poorly. I would, however, like to see this be an official feature. I'm sorry if this has already been requested. Thanks for your time.

From: evan
2004-03-30 09:48 am (UTC)
wow, that's cool!

the patch looks quite good, too, and i've often wanted a similar feature: uploading images to my website automatically. i keep all of my lj images in date-ordered directories (see, for example, http://neugierig.org/pics/livejournal/2004/) so that i never break old links.
what'd be doubly-fancy is to support uploading via scp or via fotobilder (which is going to be livejournal's picture support---see http://pics.livejournal.com).

so, the negatives:
- the logjam way is typically to show a "running..." dialog when running external commands that may take a while. hooking into scp well could either be easy or hard; it does print out percentage bits, if you wanted to be really hacky.
- style: you put spaces inside of your parens/brackets, while i don't.
(Reply) (Thread)
[User Picture]From: gen_witt
2004-03-30 10:08 am (UTC)
I was originally going to have it block, and upload during the posting, using the existing throbber to show progress. But then I was having trouble following the twisty maze of control flow, and I had somewhere to be. You might be able to link to libssh and get progress information from there, I haven't looked into it really, and scraping the percentages sounds ugly. I like the idea of having an upload files interface in full generality, you could have it auto upload all sorts of things. As to style, I started off trying to copy the existing style, but then I failed miserably, I think I need to work on that.
(Reply) (Parent) (Thread)
From: evan
2004-03-30 10:18 am (UTC)
I'm pretty impressed you managed to make everything else so consistent with my wacky designs... the throbber control flow is intensely complicated and I'm sorry you even had to look at it. :)

I didn't know a libssh existed. That sounds excellent.
(Reply) (Parent) (Thread)
[User Picture]From: k001
2004-03-30 02:04 pm (UTC)
As long as libssh will not start to appear in the kinda-standard distros like, say, Fedora and Debian, it will be PITA for users to install software that depends on it.

Anyway, what we shall do is to create software using libssh. ;)
(Reply) (Parent) (Thread)
From: evan
2004-03-30 09:49 am (UTC)
oh, and in the future, can you post stuff like this in logjam_dev?
(Reply) (Thread)
[User Picture]From: gen_witt
2004-03-30 10:14 am (UTC)
Sorry, as this was meant more as a feature request than a real patch, I figured it'd be more appropriate here. In the future, I'll post in logjam_dev. Thanks for logjam, it's a good product, and makes using LiveJournal more pleasant.
(Reply) (Parent) (Thread)