Status: Untriaged
Owner: [email protected]
CC: [email protected],  [email protected]
Labels: Type-Feature Pri-3 OS-All Area-BrowserBackend

New issue 8059 by [email protected]: Suggest servers at Yahoo-CN and  
Yahoo-HK are not supported
http://code.google.com/p/chromium/issues/detail?id=8059

Moved from Google's internal bug ( b/1438229 ).

Yahoo CN and Yahoo HK emit non-Fxjson formats in response to a 'suggest  
request'. Currently, we only
support the Firefox JS
ON format.  This might as well be an evangelism issue. Or, we have to ask  
them if there's a way (query
param to use) to get back results in the Fxjson format.

The url for CN Yahoo suggestion service is

http://cn.yahoo.com/cnsuggestion/suggestion.inc.php?query={searchTerm}

where searchTerm is UTF-8 (escaped) and the response is also in UTF-8.  
However, it's not a JSON file,
but it's simply a list of suggestions delimeted with '|'. For instance, I  
got back

金牌冰人|金牌女儿红|金牌杀手|金牌间谍|金牌熊猫|金牌橱柜|金牌店长|金牌策划|金 
牌律师|金牌制作人 制片人

when I typed '金牌' (  
http://cn.yahoo.com/cnsuggestion/suggestion.inc.php?query=%E9%87%91%E7%89%8C  
)

---------------------------------------------------

Yahoo HK uses still another format:

http://history.hk.search.yahoo.com/ac/ac_msearch.php?query={searchTerms}

Example:
http://history.hk.search.yahoo.com/ac/ac_msearch.php?query=%E9%9B%BB%E5%BD%B1


It's a JSON but is encoding-neutral in that it uses JS '\uXXXX' escapes for  
non-ASCII characters.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to