On Thu, Aug 18, 2016 at 4:06 PM, lore <[email protected]> wrote:
> On 17/08/16 15:14, Olivier Tilloy wrote:
>> You can add custom search engine definitions in the form of OpenSearch
>> XML files (http://www.opensearch.org/Specifications/OpenSearch/1.1).
>> Just drop those custom definitions in
>> ~/.local/share/webbrowser-app/searchengines/, you should then be able
>> to use your favourite search engine from within the browser.
>>
> Thanks for your answer.
> I tried but did not find the right parameters for the xml.
> For startpage.com search I found
> https://startpage.com/do/search?query=%s&cat=web/ for
> Url type="text/html", but can't figure out what to put in Url
> type="application".
> I now can set startpage.com as my default search engine, but search does
> not work :(

Try the attached file, and please let me know if it doesn’t work for you.

Cheers,

 Olivier
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"; xmlns:moz="http://www.mozilla.org/2006/browser/search/";>
  <ShortName>Startpage</ShortName>
  <Description>Startpage Search, adds Startpage.com over HTTPS to your OpenSearch capable browser.</Description>
  <InputEncoding>UTF-8</InputEncoding>
  <Url type="text/html" method="get" template="https://www.startpage.com/do/search?q={searchTerms}"; />
</OpenSearchDescription>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to