Tips
Ian
There are some built-in features never explicitly mentioned. For anybody who doesn't want to read the source code, here are a few ## Searching This website's search bar is stupid: it only searches team names and person names. There are, however, three extra features: general mode, specific mode, and single-result redirect. **General Mode:** You searched for "Nathan Smith". The website split that at the space and gave you everybody with "Nathan" or "Smith" in their name. [Check it out](/search?search=nathan+smith) **Exact Mode:** You searched for "Nathan Smith" with double quotes on either end. The website gave you results for everybody with "Nathan Smith" in their name. [Check it out](/search?search=%22nathan+smith%22) **Single-result redirect:** If your search only gives you one result, you will be redirected to that page and skip the search page. [Check it out](/search?search=%22patrick+marleau%22) ## People Pages The URL for a person's page is built to be flexible. The website database requires every record to have an internal ID number, and that's the base URL for every player. That's kind of clunky and not human readable, so there's other options. We'll be using [Patrick Marleau (/person/11210)](/person/11210) as our example player. * NHL IDs can be used as /person/nhl:${NHL_ID} for folks playing with the NHL's API: [Patrick Marleau (/person/nhl:8466139)](/person/nhl:8466139) * Elite Prospects ID can also be used as /person/ep:${EP_ID} for any players with an EliteProspects ID in the database. That translates to any player whose career stats show up on the player page: [Patrick Marleau (/person/ep:3671)](/person/ep:3671) * Player names followed by "-${SITE_ID}" are built in to give a more human-readable option that will also work when player names are duplicated. (There are three "Nathan Smith"s): [Patrick Marleau (/person/patrick-marleau-11210)](/person/patrick-marleau-11210) * If you have some of a player's name, you may also attempt to put what you know of their name into the URL, and the site will redirect you to the search page. If there are players matching what you provided, you'll be redirected to an exact search. If there aren't, you'll be redirected to a general search. **Exact:** [Marleau (/person/marleau)](/person/marleau) **Inexact:** [Clear Day (/person/clear-day)](/person/clear-day)