为我的网站制作 IE8 加速器
我有一个文件 Accelerator.xml
<?xml version="1.0" encoding="UTF-8"?>
<os:openServiceDescription
xmlns:os="http://www.microsoft.com/schemas/openservicedescription/1.0">
<os:homepageUrl>http://www.sapo.pt</os:homepageUrl>
<os:display>
<os:name>Find on Sapo</os:name>
<os:description>Find more information on Sapo</os:description>
<os:icon>http://msdn.microsoft.com/favicon.ico</os:icon>
</os:display>
<os:activity category="Search">
<os:activityAction context="selection">
<os:execute action="http://pesquisa.sapo.pt/" method="get">
<os:parameter name="q" value="{selection}" type="text" />
</os:execute>
</os:activityAction>
</os:activity>
</os:openServiceDescription>
这不起作用,当我点击 html 中的按钮进行安装时,会出现错误“加速器信息存在问题”。为什么?
i have a file Accelerator.xml
<?xml version="1.0" encoding="UTF-8"?>
<os:openServiceDescription
xmlns:os="http://www.microsoft.com/schemas/openservicedescription/1.0">
<os:homepageUrl>http://www.sapo.pt</os:homepageUrl>
<os:display>
<os:name>Find on Sapo</os:name>
<os:description>Find more information on Sapo</os:description>
<os:icon>http://msdn.microsoft.com/favicon.ico</os:icon>
</os:display>
<os:activity category="Search">
<os:activityAction context="selection">
<os:execute action="http://pesquisa.sapo.pt/" method="get">
<os:parameter name="q" value="{selection}" type="text" />
</os:execute>
</os:activityAction>
</os:activity>
</os:openServiceDescription>
This not work get me a error "threre are a problem wiyh accelerator's information" when go click in button in my html to install. Why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一些规则。
您必须通过 http 或 https 协议提供 xml 文件。单击带有 file: 协议的本地链接将不起作用
使用的 url 应全部来自同一域,因此请尝试将 favicon url 更改为 sapo.pt 域
A few rules.
You must serve the xml file from either an http or https protocol. Clicking on the link locally with the file: protocol will not work
The url's used should all be from the same domain, so try changing the favicon url to the sapo.pt domain