When editing the file WidgetSearchProviders.xml
, keep in mind the following:
<SearchProvider>
- The text between these tags will be displayed on the Search button and the context menu for web search.<Url>
- The text between these tags will be sent to your web browser; it allows you to specify three parameters that will be replaced before sending the URL (none of them are mandatory):
{0}
is the source language.{1}
is the target language.{2}
is the search term.
- Make sure that you use XML entities in the URL string (the
WidgetSearchProviders.xml
file is an XML file). So for an ampersand that adds another parameter, you should use &
<Icon>
- Put the image file of the icon you want to use for the website between these tags.<LanguageMapping>
- This may be relevant to display the web page in another language; different websites use different ways of representing languages.
For more advanced instructions on adding resources to your SDL MultiTerm Widget, refer to KB article The SDL MultiTerm Widget and how to add custom search providers..
For more information on language mapping and how to format the XML file, refer to the online help: Adding External Web Search Providers.