There is a detailed introduction to accelerators in the http://ie.microsoft.com/activities/zh-chs/default.aspx.
In http://msdn.microsoft.com/en-us/library/cc289789 (vs.85). aspx is also described.
Because activities is described with an XML file, the XML file provides a user interface, such as how the browser communicates with the server through a URL template. Web-based services should take advantage of xml-based activities because XML activities is easier to create, test, and deploy to users.
We want to create a activities only need a activities XML file, and then need a Window.external.AddService (' activiites XML file '), simple and easy to use.
For example: We need to use the blog park in the IE8 browser to look for, you need to configure the following XML file, if named Cnblogs.xml
Copy Code code as follows:
<?xml version= "1.0" encoding= "Utf-8"?>
<os:openservicedescription
xmlns:os= "http://www.microsoft.com/schemas/openservicedescription/1.0" >
<os:homepageUrl>http://zzk.cnblogs.com/</os:homepageUrl>
<os:display>
<os:name> go to cnblogs search to see </os:name>
<os:description>so,then ... And then there's the AH .</os:description>
<os:icon>http://www.cnblogs.com/favicon.ico</os:icon>
</os:display>
<os:activity category= "Cnblogs" >
<os:activityaction context= "Selection" >
<os:preview action= "Http://zzk.cnblogs.com/s?w={selection}" ></os:preview>
<os:execute action= "Http://zzk.cnblogs.com/s?w={selection}" method= "get" >
</os:execute>
</os:activityAction>
</os:activity>
</os:openServiceDescription>
onclick= "Window.external.AddService (' Cnblogs.xml ')" can be triggered with an event event, which will eject the following interface
Then we can use the same as the PowerWord word function, the effect is as follows
Right-click in IE8--> all Accelerators--> Management Accelerator can manage existing accelerators as follows