6.6. Web search options

This pane allows to configure the entries of the Web Search menu.

Figure 9.6. Dialog box allowing to add or edit a web search service specification
Dialog box allowing to add or edit a web search service specification

A web search service is specified by:

The following variables are substituted with their values when the web browser is invoked by XXE to open the URI:

VariableDescription
${searched}The searched text is the current text selection.
${locale}The language of the user interface (GUI) of XXE.
${locale2}Same as ${locale}, but just the first two ISO 639-1 letter codes. Example: if ${locale} is fr-CA, then ${locale2} is fr.
${lang}

The language of searched text. This language is automatically determined by XXE using a number of rules in XMLmind XML Editor - Commands (for example, lookup of attribute xml:lang).

${lang2}Same as ${lang}, but just the first two ISO 639-1 letter codes.

Note that the value of a variable is automatically escaped if needed too. For example, "vin rosé" becomes "vin%20ros%C3%A9".

[Tip]

Notice that this pane does not allow to specify keyboard shortcuts. If you want to use keyboard shortcuts for searching the web, please refer to Using keyboard shortcuts for searching the web.



[18] This list is specified in system property WebSearch.services in XMLmind XML Editor - Commands. When this system property has not been defined, a default list comprising Google, Wikipedia, etc, is used.