Entry tags:
XML-RPC interface issue
(Of the official journals, this looked like the most appropriate place to post this.)
Dreamwidth's XML-RPC interface is returning some results that I would call broken. On both 'login' and 'getfriendgroups' calls, it returns empty lists rather than a list of custom access filter groups (which is what I would expect) or some combination of those and custom reading filter groups (which I would think is inappropriate given that clients are intended for posting and not for reading). The end result is that custom-group entry security is unusable (no groups from which to choose) in any client that implements the XML-RPC protocol as specified in the LiveJournal docs.
Dreamwidth's XML-RPC interface is returning some results that I would call broken. On both 'login' and 'getfriendgroups' calls, it returns empty lists rather than a list of custom access filter groups (which is what I would expect) or some combination of those and custom reading filter groups (which I would think is inappropriate given that clients are intended for posting and not for reading). The end result is that custom-group entry security is unusable (no groups from which to choose) in any client that implements the XML-RPC protocol as specified in the LiveJournal docs.
no subject
no subject
We will try to support it well enough... and we MIGHT end up making ver=1 backwards compatible and make ver=2 have all of the Dreamwidth features, but nobody has really taken point on the discussion to lead the project.
no subject
As far as I can tell, to make custom access filters work, one of two things needs to happen.
1. You make the 'login' call properly return 'friendgroups' (which would also fix the behavior in other clients)
2. I write what may amount to an entirely new client (or at least an entirely new client-server communication library) to meet a specification that does not exist (which would only help my own client or one based on my libraries)
As I can't do 2 without a spec and probably have no time and not enough motivation to do it and as you have stated that you won't do 1, my only conclusion is that I should warn my users that Dreamwidth does not support the XML-RPC protocol and that if my client or any other client happens to work with Dreamwidth, that's great, but I can't guarantee any kind of support at all.
Further, I think co-opting ver=2 to your own meaning risks very bad future breakage if LJ ever decides to use ver=2. Either extend the protocol in a backward-compatible way (adding optional extra parameters to enable, e.g., 64-bit integers for allowmask), or define a new protocol and put it somewhere other than where the LJ XML-RPC protocol is expected to be.
no subject
no subject
no subject
Someone passes the access group mask to that, expecting that to work just like on LJ -- and it just won't work as expected.
no subject
When I was working on the client, I had to special case some sites anyway. DeadJournal was always on old code, sites would come and go, it's sort of the name of the game... if you build a client application, you sort of have to deal with changes that come down the pipe no matter who they come from. Well, I did, as I wanted to try please as many of my users as possible. Can't always do that, but eh.
Philosophically, LJ has traditionally forged its own path. That was fine back in 1999 when nobody else was really doing these things on the Internet, but nowadays there are actual standards for blogs and clients. The Atom standard, mainly, and I would rather put the time and effort into supporting that than go back and try to retrofit or jury rig these special modes that LJ based sites support that nobody else does.
I want Dreamwidth to move in that direction: to support the standards that other sites like WordPress, Blogger, and TypePad are using. If we can be compatible with those clients, we'll be in a much better position than trying to be compatible only with our little microcosm.
None of which is really going to make things better for you this very minute, of course.
Brainstorming, though...
What if the login mode returned a tuple 'dwmode=1'? Then, you could know that there are no friendgroups and that this site (whether it is us or someone using our code) is using the Dreamwidth protocol.
Further, if that's acceptable, would you be willing to implement a second call out to 'gettrustgroups' or some method that is actually specific to what we do? It should be pretty simple for your client to do, just a different method, same looking results.
If you're willing to implement and support this in your client, I'll go hack it up right now and have it out next code push. I can't promise it will be pretty code on my end, but it will work. ;)
no subject
So, apparently Dreamwidth has no intention of supporting LiveJournal clients.
no subject
I think in order for it to happen in a timely manner, we would need a client developer with a keen interest in getting things rolling to work with
no subject
no subject
The LJ 'friends' concept and the DW 'trust' and 'access' concepts aren't the same. Trying to use the protocol as if they are in some circumstances would be foolish. The solution is to implement new methods, not mis-use the old ones.
I think it might be more accurate at this point to say that you're not willing to extend your LJ client to also support DW - and that's a perfectly reasonable decision for you to make.