May 7th, 2001

  • teferi

(no subject)

Is anyone else working on a common library for LJ clients? If not, well, I've already started on one (just a bunch of data structures right now, but work is progressing).
If so, tell me so that I can add to that instead of wasting my time. :)
moose, transparent
  • avva

Windows client: a change in UI

I made some more changes to the Windows client. The most exciting of these is a change in the way Post Options work: when you press the "Post Options" button, they pop out at the bottom of the window, and stay there until you press the button again. This seems like a useful thing.
(however, the dialog for editing old posts retains the old modal post options dialog for now).

I am not entirely satisfied with the look of post options now that they are part of the main window, and could use some UI suggestions on how to improve that. Also, a lot of code had to be changed, so perhaps there are some bugs with the posting options, though I couldn't find any. If you're interested in the new functionality, please download, test, and report bugs and suggestions. Especially UI suggestions.

Other changes include:

- incorporated Tim's
1.4.7-beta code into my source tree. This concerns mainly three things: explicit support for proxies (in the menu of the login dialog), support for detecting music off Media Player 7 (with a special skin only, see here), and smarter behaviour with respect to surrounding whitespace when inserting links.

- added a global option to ignore Windows' own proxy settings, and just connect to Internet directly regardless of what Windows says. This may help people with screwed IE setups.

- fixed a few minor bugs. Added the ability to change the URL for communicating with the server in the registry; default /cgi-bin/log.cgi .

- updated About dialog box.

- removed illegal code from the source. Unfortunately, I cannot distribute a version of the client with spellchecking inside; only Tim
can distribute the relevant files, according to license requirements on the spellchecking component. Those who need spellchecking should just stick to 1.4.6.

Things in the pipeline:
- add journal selection to post options controls in the main window.
- add abbreviations: any word would automatically be replaced by a user-defined text (e.g. links to users' LJ page s for users you often mention in your journal).
- offline posting?
- other suggestions?

Here's the executable.
Update! A nasty bug which messed up the UI on Win 95/98/ME appears to have been successfully fixed. If you encounter any more problems, please comment.
  • Current Mood
    tired tired
new cow
  • corvar

LJ Friends and Mozilla Sidebars

Well this is sort of a multipart message, which at least in my mind is all related together.

I have in the past messed around with making Mozilla Sidebars. They are essentially a small browser window which work in conjunction with the main browser window in Mozilla (Netscape 6). Over the past week, I have vastly improved the scripts I had written for the Mozilla Sidebar. If you are interested you can see my work at my Mozilla Sidebar Installer page. Now that is somewhat besides the point, but it got me thinking today, wouldn't it be cool to have my LJ friends page as a Mozilla Sidebar.

Now the way the standard Friends page (at least mine and I have not played with styles in the least) is setup, is definitely not ideal for a Sidebar. For a Sidebar, you would typically want a list of links directing the main browser window to the real content. So what I started thinking was a Sidebar which would make a list of links, each link's text would contain the person who posted, and either the subject or the first X characters of the post.

With that idea in my head, I started trying to figure out how to accomplish this. I figured about the worst way to go about this would be grabbing the persons friends page, parsing it out, and redisplaying the information. But despite it being the worse way to go about things, I figured I would look at that first. All of the information needed is available from that page. It isn't formated in the most advantageous manner for machine parsing, though it could be done. Individual styles would definitely break any parser into many small unusable pieces unless there was specific information added in HTML to facilitate parsing.

Next I decided to look at what should be a better way of doing this, using the LJ Protocol. I hadn't ever really looked at the protocol documentation, and found it pretty easy to work with. Of course on further perusal, I noticed that it was definitely lacking in a mode to do what I wanted. I could quickly see if there were new friends entries, manipulate my own journal, but no way to grab in whole or part the list of friends posts.

Another possible issue I immediately thought of in regards to the protocol, is everything required authentication. In my mind, I had planned to write this script, put it on my site, and let anyone use it. I didn't expect to get the trust of anyone, and therefore didn't expect to actually have any password information. So I didn't want to authenticate to LJ for this process.

Well that is the idea that went through my head today, and what I did to explore it. I would really like to see a usable LJ Mozilla Sidebar, but either I am missing a way to implement this, or it would require server side intervention. What lengths someone will go to while they are supposed to be doing their job at work.
  • Current Music
    My Life with the Thrill Kill Kult - Rivers of Blood, Years of Dark

Directory Search

I dont know if Directory Search is up or not, but is someonw working on it tonight ??

I keep getting the following errors on the page:

[Error: Undefined custom element 'CRIT']

Any Ideas ?
  • Current Mood
    confused confused