搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Internet opensearch suggestions stoped working

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 slewitan

more options

We have an internally written and hosted opensearch plugin which after upgrading to Firefox 7 the suggestions stopped dropping down in the browser. (I don't remember what we were running before) As before when one hits enter it still submits the keyword to the proper page URL.

The plugin xml is: <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>Directory Listing v1.1</ShortName> <Description>Directory Listing</Description> <Image height="16" width="16" type="image/x-icon">http://int.bh.com/phonelookup/favicon_phone.ico</Image> <Url type="text/html" method="get" template="http://int.bh.com/phonelookup/phonelookup.php?keyword={searchTerms}"/> <Url type="application/x-suggestions+json" method="GET" template="http://int.bh.com/phonelookup/suggest/suggest.php?format=json&mode=FirstNickLastNumber&keyword={searchTerms}"/> </OpenSearchDescription>

suggest.php output (keyword=bill): ["keyword",["Bille, Bntonio, 123","Biller, Bvrum, Dhesky, 202","Darias, Billy, 829","Durran, William, Billy, 265","Fexter, William, Bill, 168","Jamet, Bill, Borris, 262", ]]

Thanks for all your help. S. Lewitan

We have an internally written and hosted opensearch plugin which after upgrading to Firefox 7 the suggestions stopped dropping down in the browser. (I don't remember what we were running before) As before when one hits enter it still submits the keyword to the proper page URL. The plugin xml is: <?xml version="1.0"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>Directory Listing v1.1</ShortName> <Description>Directory Listing</Description> <Image height="16" width="16" type="image/x-icon">http://int.bh.com/phonelookup/favicon_phone.ico</Image> <Url type="text/html" method="get" template="http://int.bh.com/phonelookup/phonelookup.php?keyword={searchTerms}"/> <Url type="application/x-suggestions+json" method="GET" template="http://int.bh.com/phonelookup/suggest/suggest.php?format=json&amp;mode=FirstNickLastNumber&amp;keyword={searchTerms}"/> </OpenSearchDescription> suggest.php output (keyword=bill): ["keyword",["Bille, Bntonio, 123","Biller, Bvrum, Dhesky, 202","Darias, Billy, 829","Durran, William, Billy, 265","Fexter, William, Bill, 168","Jamet, Bill, Borris, 262", ]] Thanks for all your help. S. Lewitan

由slewitan于修改

被采纳的解决方案

It turns out I have an extra comma at the end of the json string which I guess in the older versions didn't mess things up. Sorry for the trouble.

定位到答案原位置 👍 0

所有回复 (2)

more options

Upgrade your browser to Firefox 8 and check

more options

选择的解决方案

It turns out I have an extra comma at the end of the json string which I guess in the older versions didn't mess things up. Sorry for the trouble.