in reply to Re: Name clashes in lookup by title
in thread Name clashes in lookup by title

For the record, you can actually search for specific nodes by id, just by typing the node ID into the search box.
Just as a counter example, I'd like you to look up 1. It returns 2 results, but not one with node_id 1.

But in general, you are correct.

Except I don't think that searching for nodes by node_id is all that useful.

p.s. Nice post.

Replies are listed 'Best First'.
Re: Re(2): Name clashes in lookup by title
by davido (Cardinal) on May 06, 2004 at 15:38 UTC
    You're correct, putting a node ID in the search box subjects it to name clashes as well. Good thing that very few nodes are named 31523. ...and exactly one carrys that ID. There will be times when you simply can't search even by ID. You will always be able to link by ID though. (Just wanted to clarify).

    You may also always get to a particular node ID by hand-crafting the URL. This is not terribly user-friendly, but works fine:

    http://www.perlmonks.org/index.pl?node_id=xxxx (where xxx is the actual node id)

    Careful.


    Dave

      I think its better to do:

      <a href="?node_id=272750">A direct link to Sporty's Home Node</a>

      A direct link to Sporty's Home Node

      As that way you wont appear to log anyone out, and if the gods are ever mad enough to rename index.pl it will still work. :-)

      BTW: Sporty was chosen because he happened to be in the CB when I wrote this and as such it was easy to get his node_id. I'm not picking on the Java Freak or anything here. :-)


      ---
      demerphq

        First they ignore you, then they laugh at you, then they fight you, then you win.
        -- Gandhi