Firefox2/L10n Requirements: Difference between revisions

Line 229: Line 229:
Yahoo appears to use the same search suggest URL for most (but not all) locales.  Japan has a completely different URL.
Yahoo appears to use the same search suggest URL for most (but not all) locales.  Japan has a completely different URL.


Japan: http://api.search.yahoo.co.jp/AssistSearchService/V2/webassistSearch?output=fxjson&p={searchTerms}
Japan: http://api.search.yahoo.co.jp/AssistSearchService/V2/webassistSearch?output=fxjson&p={searchTerms}<br>
Everywhere else: http://%DOMAIN%/?output=fxjson&command={searchTerms}
Everywhere else: http://%DOMAIN%/?output=fxjson&command={searchTerms}


{| cellpadding="3" border="1"
{| cellpadding="3" border="1"
Line 276: Line 276:
| zh-TW || ff.search.yahoo.com
| zh-TW || ff.search.yahoo.com
|}
|}
To enable this functionality, add these lines to your yahoo.xml search plugin, substituting your own URL as appropriate; the "&amp;amp;" is intentional.
<Url type="application/x-suggestions+json" method="GET"
    template="http://ff.search.yahoo.com/gossip?output=fxjson&amp;amp;command={searchTerms}" />


=== Start Page ===
=== Start Page ===
64

edits