加速器 (Internet Explorer)
加速器()是由微软于Internet Explorer 8中引入的一种搜索选定内容()的方式,它可使用户仅通过鼠标就能调用任意第三方页面的在线服务[1]。当用户选中文本或其它对象时,加速器图标将会出现,之后用户就可为所选对象调用可用的加速器服务(例如使用选中文字写blog或者查看选中地理位置的地图)。微软称,加速器使用户不必再在网页之间进行复制粘贴。[2]IE8指定了一种XML编码方式,使网络应用或网络服务可以加速器的形式被调用,而服务将被如何调用及调用后展示什么类型的内容,则会由XML文件指定。[3]已有人指出了加速器和曾在IE6 Beta版中测试却因争议批评后而取消(虽然后来包括了在Microsoft Office中)的智能标记间的相似特性。[4]
历史
    
微软在IE8 Beta1中以“”为名引进加速器,后来其改名“”。
IE8
    
加速器默认以加载项的类型被包括。
示例加速器
    
这是一个使用OpenService格式的地图加速器示例:
<?xml version="1.0" encoding="UTF-8"?>
<openServiceDescription xmlns="http://www.microsoft.com/schemas/openservicedescription/1.0">
  <homepageUrl>http://www.example.com</homepageUrl>
  <display>
    <name>Map with Example.com</name>
    <icon>http://www.example.com/favicon.ico</icon>
  </display>
  <activity category="map">
    <activityAction context="selection">
      <preview action="http://www.example.com/geotager.html">
        <parameter name="b" value="{selection}"/>
        <parameter name="clean" value="true"/>
        <parameter name="w" value="320"/>
        <parameter name="h" value="240"/>
      </preview>
      <execute action="http://www.example.com/default.html">
        <parameter name="where1" value="{selection}" type="text"/>
      </execute>
    </activityAction>
  </activity>
</openServiceDescription>
参考资料
    
    
外部链接
    
- Accelerators Video(页面存档备份,存于), 微软的 Internet Explorer 8视频
 - Add-ons Gallery: Accelerators, 微软Internet Explorer 8
 
开发
    
- OpenService Accelerators Developer Guide(页面存档备份,存于)
 - Accelerators(页面存档备份,存于), Internet Explorer 8 Readiness Toolkit
 
维基媒体基金会加速器
    
- Wikipedia Visual Search, IE8 Addons Gallery
 - Define with Wikipedia, IE8 Addons Gallery
 - Define with Wiktionary, IE8 Addons Gallery
 - Veoh Video Compass, IE8 Addons Gallery
 
    This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.