Log in

No account? Create an account
Comments via XMLRPC? - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

Comments via XMLRPC? [Nov. 3rd, 2005|04:17 pm]
LiveJournal Client Discussions


Hi. I've been trying to figure out how to read comments to postings using the LJ XMLRPC. I just can't figure it out. Does anybody have sample code?

Right now I'm trying to grab the URL and parsing it. That works most of the time, but it doesn't work with comments to entries that are friends-only. When I hit one of those, I throw up my hands .I know that there is a way to send through the LJ Cookie ,but I can't figure out how to make that, either.

So help on either would be very much appreciated!

From: cellophane01
2005-11-09 09:22 pm (UTC)
The client interface is perfect the way it is. New features would ruin it.
(Reply) (Thread)
[User Picture]From: jdstroy
2005-11-10 01:56 pm (UTC)
;_; But isn't that why it's XML?

I should go and make my own version of LiveJournal with extensions. Maybe it'll get merged with the official LJ.
(Reply) (Parent) (Thread)
(Deleted comment)
[User Picture]From: jdstroy
2005-11-11 02:34 am (UTC)
XML comment was in reference to "extensible," as in "eXtensible Markup Language." Easy to modify, extend, or add "new features," hopefully without breaking anything.

I might be interested in your LJCode project, but I'm mainly a Java (and thus JSP) developer with some experience in PHP, and very little experience with Perl (which is what LJ uses). (I also know the usual web-stuff like XML, (X|D)HTML, JavaScript, VB, etc.) So that means that if I do any serious work with the LJ code, it'll probably have to be re-written from scratch in Java.
(Reply) (Parent) (Thread)
(Deleted comment)
[User Picture]From: jdstroy
2005-11-11 09:58 pm (UTC)
I was referring to this instead of comparing /interface/xml-rpc to /interface/flat. I'm not suggesting a change in behavior, but rather, a new method for retrieving comments (as XML), which, I believe, might be a little more efficient than parsing a page that has to be constructed--wouldn't you agree?

I kinda expected an answer like that. ;) Which is why I want to make my own JSP-based weblog.
(Reply) (Parent) (Thread)