?

Log in

No account? Create an account
other q&a - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

other q&a [Apr. 14th, 2002|11:44 am]
LiveJournal Client Discussions
lj_clients
[evan]
I was mailed these questions:

The protocol docs used to say to POST to /cgi-bin/log.cgi, so that's what I use. But I just noticed that they now say to post to /interface/flat. Does it make a difference?
Those URLs are effectively identical (one maps to the other), but /interface/flat is the newer, more official one. Because Brad tries to never break backwards compatibility, /cgi-bin/log.cgi should stay around, but you should use /interface/flat to be more "correct".

Just saw that there's an XML-RPC interface to LJ. Does it support anything that the regular protocol doesn't, or does the server just translate it into the regular protocol first?
The latter. Both protocols have equivalent functionality (internally, they're both just wrappers around the same code). I'm not sure if anyone has written anything that uses the XML-RPC interface (the flat protocol is so simple that it's about as hard to use it as it is an XML-RPC library) so I can't vouch for its bug-free-ness, but there it is.
(Update: Currently you can find XML-RPC documentation at http://www.livejournal.com/doc/hack/ .)
linkReply

Comments:
[User Picture]From: bradfitz
2002-04-14 08:24 am (UTC)
This client uses XML-RPC:

http://www.bradfitz.com/programming/hacks/journal.pl.txt

Mad simple. I love it.
(Reply) (Thread)
From: evan
2002-04-14 08:26 am (UTC)
my $editor = $ENV{'EDITOR'} || "vi";
Hard core.

(ls -l /usr/bin/editor on a Debian system.)
(Reply) (Parent) (Thread)
[User Picture]From: deus_x
2002-04-15 06:55 am (UTC)
I've been playing around the last few days with a Tool for Radio UserLand that calls on the LiveJournal XML-RPC API to bridge from posts in Radio to LJ journal entries. Was thinking of making a metaWeblog API bridge to LJ also. I might abandon the idea of Tools in Radio, though, and just make them little gateway CGIs on my site. The Blogger 2 LJ gateway I've been using has worked out pretty well that way, though the metaWeblog API would actually let me use the mood & music attributes of LJ entries.
(Reply) (Parent) (Thread)