Edit search provider

With memoQ web search, you can search for a word or a phrase on several web sites at once. The resource called the web search settings defines which websites and how.

You can tell memoQ which pages to search. When you add a page, you must specify the address of the page, and you must tell memoQ how to search on that page.

You can do this in the Edit search provider window.

How to get here

  1. Open the Options window. Choose Default resources.
  2. At the top, click the Web search settings icon_websearch icon.
  3. Check the check box of the Web search settings profile you want to use. You may need separate Web search settings for each source language.
  4. Right-click this Web search settings profile, and choose Edit. The Web search settings window opens.
  5. Next to a search provider (a web page), click the pencil icon-pencil icon. This will edit an existing provider. Or, you can add a new provider: At the bottom, click Add new.

    The Edit search provider window opens.

    edit-search-provider

What can you do?

  • In the Display name box, type a name for the provider.
  • In the Search URL box, enter the web address of the search page (not the main page!) of this web page. When you search on a web page, it will use an address where the address itself contains the text you are searching for. In the Edit search provider window, use a pair of curly brackets {} where the search text will be.

    Example: https://www.memoq.com/en/search-results?searchtext={}&searchmode=anyword

  • If you need to send extra information to the page (you can find this out by running a search on the page), check the Use POST data check box. Enter the data in the box below the check box.  to use the POST protocol to send the data. POST is a HTTP command to send data to a web server. POST data is the pay load of the POST command.
  • Example:

    postdata-example

  • if you search for two or more words, they are normally separated with a plus sign. To change that, edit the Multi-word phrase separator box.
  • Normally, memoQ encodes quotation marks as %22. To change this, enter another code in the Quotes are encoded as box.
  • Normally, the addresses and the POST data are encoded in Unicode (UTF-8). To change the encoding, choose another one in the Encoding drop-down box.
  • Finally, test the provider. In the Test with search phrase box, enter a word or a phrase, and click Test. The memoQ web search preview window opens.

When you finish

To save the changes, and return to the Web search settings window: Click OK.

To return to the Web search settings window without saving the settings: Click Cancel.

See also: Getting the picture with automated web searches by Kevin Lossner