Jens (ex_snej373) wrote in lj_dev,
Jens
ex_snej373
lj_dev

Hello, and questions on text encoding, etc.

Morning, all. I guess I must be an 3l33t LJ developer now because over the weekend I wrote a quick tool that polls checkfriends and notifies me when my friends post. So now I have a couple of newbie questions.

(1) What is the character encoding used by LJ? The protocol docs don't say, and the response headers just have a content-type of "text/plain" with no encoding specified, which is less than helpful. I'm guessing ISO-8859-1 or maybe UTF-8? I know there is a community of people who post in Russian, so there must be some support for non-Latin encodings, right?

(2) I'd like my tool to be able to tell me who just updated their journal. But there seems to be no protocol mode for inspecting your Friends page beyond simply detecting if it's updated, and there's no way to access other people's journals. Or did I miss something, or are the docs out of date? This is a shame, since it seems that a client ought to be able to do anything you can do from the website.

(3) Are "friend groups" something that can only be set up or accessed from client apps? I've looked at the web page for adding/modifying friends, and it says nothing about groups.

Thanks!
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 6 comments