Gay But Not Narrow (ruakh) wrote in lj_userdoc,
Gay But Not Narrow
ruakh
lj_userdoc

FAQ #75 and LJ-specific non-URLs.

So I was looking through the code the other day, and found that there are actually a whole lot of LJ-specific non-URLs.

FAQ #75 describes three:
- lj:user/exampleusername, which becomes http://www.livejournal.com/users/exampleusername/
- lj:support/foo, which becomes http://www.livejournal.com/support/see_request.bml?id=foo (where foo is a number)
- lj:faq/bar, which becomes http://www.livejournal.com/support/faqbrowse.bml?faqid=bar (where bar is a number)

There are others, too:
- lj:user/exampleusername/blahblahblah/foobarbaz, which becomes http://www.livejournal.com/users/exampleusername/blahblahblah/foobarbaz
- lj:user/exampleusername/profile, which becomes http://www.livejournal.com/userinfo.bml?user=exampleusername
- lj:support, which becomes http://www.livejournal.com/support/
- lj:faq, which becomes http://www.livejournal.com/faq.bml
- lj:, which becomes http://www.livejournal.com/

(Anything beginning with lj: that isn't recognized will become http://www.livejournal.com/.)

Is there a reason these aren't in the FAQ?

Also:
1. It's a minor point, but these aren't really "URL forms," since a URL is a Uniform Resource Locator. (Unless "URL form" is meant to mean "code that has the 'form' of a URL"?)
2. They only work when they're the value of an element's href attribute (so they won't autolinkify). Is that worth mentioning?
Subscribe

  • FAQ232

    There is a typo (or two) in FAQ232. I'm talking about the following sentence: Ddd them to your Friends list them with the Add Friend button at…

  • New FAQ: How do I deal with spam?

    This FAQ is meant to tie together all of our spam-related information, currently spread over several different categories. Ideally, I'd like to have…

  • Identity Account FAQs

    As LiveJournal Support regularly uses the term identity accounts both in answers to users and amongst themselves, and some system pages refer to…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 19 comments

  • FAQ232

    There is a typo (or two) in FAQ232. I'm talking about the following sentence: Ddd them to your Friends list them with the Add Friend button at…

  • New FAQ: How do I deal with spam?

    This FAQ is meant to tie together all of our spam-related information, currently spread over several different categories. Ideally, I'd like to have…

  • Identity Account FAQs

    As LiveJournal Support regularly uses the term identity accounts both in answers to users and amongst themselves, and some system pages refer to…