Log in

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

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

Is the jLiveJournal Java client still alive? [Aug. 14th, 2002|11:55 pm]
LiveJournal Client Discussions


Hi, I only joined LJ a while ago, and thought I'd see if I could help out with the Java LJ client, but it hasn't been worked on since January, and I've had no response from mailing list. Does anyone know what the situation is with this?

I'm tempted just to write my own. What's the protocol in these sort of situations? (no pun intended)

From: ex_neville87
2002-08-14 04:20 pm (UTC)
I think in that case, you could pretty much do what you wanted.

Keep in mind, there are plenty of clients that all overlap. I.E. There are more than just C++ written client, etc.

If nobody is replying, I would say pick up where they left off or else write your own.
I don't think there would be a problem with that...
Just my /$0.02
(Reply) (Thread)
From: xenofalcon
2002-08-14 07:04 pm (UTC)
Seeing as the project is licensed under the GPL and that it hasn't been touched in ages, I would have to agree with neville in suggesting that you do whatever you would like. It would probably be prudent to try and contact the author (sevensoft) through other means before firmly heading in any direction, though.
(Reply) (Thread)
[User Picture]From: hass0002
2002-08-22 06:23 pm (UTC)

Java Questions

I'm trying to also write a client in Java but I'm having some problems. I was thinking maybe you could answer a question if you have the time. Bascially this is what i'm doing but it doesn't work.
Hashtable args = new Hashtable();
args.put("event","This is a test post");
args.put("subject","Test Subject");

//Create the client to talk with LiveJournal.com
XmlRpcClient xmlRpc = new XmlRpcClient("http://www.livejournal.com:80");

Vector vector = new Vector();
for(int i = 0; i<9;i++)
}//end for

Object result = xmlRpc.execute("LJ.XMLPRC.postevent",vector);

catch(Exception e)

I just get an html page as the return from the LiveJournal server. I think this is a simple problem but I'm just not getting it. Thanks in advance.
(Reply) (Thread)
[User Picture]From: grimface
2002-08-22 11:57 pm (UTC)

I'll have a look

Hi. Just on my way out to work at the moment, but I've printed off your mail and I'll ask some of the guys at work. I've not done much XML-RPC stuff (except for "Hello World" style playing around), but one of my colleagues probably has. I'll get back to you :)
(Reply) (Parent) (Thread)
[User Picture]From: hass0002
2002-08-23 12:27 am (UTC)

Re: I'll have a look

I think its more of a LiveJournal specific question. Because I think its either how I'm connecting to the server or how I'm passing the arguments. But any help is greatly appreciated
(Reply) (Parent) (Thread)
[User Picture]From: grimface
2002-08-24 01:38 am (UTC)

No idea, sorry.

I couldn't find anyone at work who could help.

I'm currently using some of the old code from jLiveJournal, which just does a straight http POST request and receives back a list of params, rather than getting a webpage returned. I'll have a look at the LJ XML-RPC docs as this seems like quite a neat way of doing it.

I assume from the snippet you posted, that you are trying to do a "simple" test post, with hard-coded username and password. Is this the case? I'll have a crack at doing this and let you know how it goes. Keep me posted how you get on, and good luck.

(Reply) (Parent) (Thread)
[User Picture]From: hass0002
2002-08-24 12:52 pm (UTC)

Re: No idea, sorry.

If you want to use XML-RPC I have figured out you have to connect to:
www.livejournal.com/interface/xmlrpc on port 80. So keep that in mind when you start writing code. But I haven't figured out how to send the paramaters correctly yet.
(Reply) (Parent) (Thread)