Namespaces
Every shortcut belongs to exactly one namespace. Namespaces allow the same keyword to be used for different shortcuts – according to the user's language, location or personal setup. For instance, while all other users use the keyword "g" for Google, you might use it for something else – with your user namespace.
You recognize namespaces as they are wrapped in a red box containing a link to a list of shortcuts in the given namespace. There are these types of namespaces:
Namespace type | Example namespaces | Naming convention | Contains | Example shortcuts |
---|---|---|---|---|
language | de en | 2 chars, by ISO 639-1 | shortcuts related to a particular language | English-German dictionary |
country | deu usa | 3 chars, by ISO 3166-1 alpha-3 | shortcuts related to a particular country | Deutsche Bahn Fahrplanauskunft |
user | jorges | >=4 chars, by the user's name | shortcuts the user has defined | DB-Auskunft von Zuhause |
planet | o | the shape of the planet (if some day shortcuts for other planets are needed, ø could be used for Saturn) | shortcuts unrelated to a language or country | Google Web Search |
Get a full list of namespaces here.
Uniqueness in a namespace
In a namespace, there can be only one shortcut with the same keyword and the same number of arguments: So in o, there is only one shortcut "g" with one argument, the Google Web Search.
Using namespaces
without a user account | with a user account | |
---|---|---|
Example URLs |
https://www.findfind.it/n/de.deu.jorges https://www.findfind.it/n/de.deu.en.usa.fra (notice the n) |
https://www.findfind.it/u/jorges (notice the u) |
URL scheme |
https://www.findfind.it/n/[any namespaces separated with dots] The first namespace must be a language and the second a country namespace. |
https://www.findfind.it/u/[any username] |
Used namespaces and their priority, given the example URL | Based on the personal setup of user "jorges", found in "My account" -> "My namespaces". |
Namespace priority
The order of the namespaces sets their priority.
example namespace setting | https://www.findfind.it/n/de.deu.fr |
---|---|
example query | en tree |
example result | call the English-French dictionary |
explanation | fr has a higher priority than de, because it appears more on the right side. So the shortcut with the keyword en from fr is used. |
Forcing a namespace
You can force to use a certain namespace by prefixing the query with "[namespace].".
example namespace setting | https://www.findfind.it/n/de.deu.fr |
---|---|
example query | de.en tree |
example result | call the English-German dictionary |
explanation | Although fr has a higher priority than de, prefixing the query with "de." forced to use the shortcut from de. The forced namespace can be any namespace. |
Default language and default country namespace
Calling the homepage URL without any namespaces will add a default language and a default country namespace.
Namespace type | default namespace picked by |
---|---|
language | preferred browser language |
country | user's IP address |