« How to send message to users logged on to a UNIX terminal? | Main | 100 great Freeware/Open Source Tools and Applications for Windows »

How to create a custom IE8 Accelerator

Microsoft has introduced a new feature in Internet Explorer 8 called "Accelerators". These accelerators help you quickly perform your everyday browsing tasks without navigating to other websites to get things done. Simply highlight text from any webpage, and then click on the blue Accelerator icon that appears above your selection to perform the respective task.

How to create an "Accelerator"?

Well it's a pretty simple two step process: 1. Create XML file 2. Create accelerator installation link Let us create a simple accelerator which queries IMDB for movie titles and displays the result.

IMDB Accelerator

On closer observation, we find that URL for search page of IMDB is of form http://www.imdb.com/find?q=SearchString where "SearchString" is the string you are querying for. With this information, lets start making the accelerator.

Step 1: Create XML File

<?xml version="1.0" encoding="UTF-8"?>
<openServiceDescription xmlns="http://www.microsoft.com/schemas/openservicedescription/1.0">
<homepageUrl>http://www.imdb.com </homepageUrl>
<display>
 <name>Search IMDB </name>
 <icon>http://www.imdb.com/favicon.ico </icon>
</display>
<activity category="Search">
<activityAction context="selection">
 <execute action="http://www.imdb.com/find">
  <parameter name="q" value="{selection}" type="text" />
 </execute>
</activityAction>
</activity>
</openServiceDescription>

This XML file is called the service description file and it contains specific description about the service provider and type of service it provides. The {selection} value on Line 11 refers to the text that you may highlight on a web page before performing the search. Save this file as search.xml.

Step 2: Create accelerator installation link

To let users use our accelerator, we will create a install button. Users can install the accelerator using this link. Here the code for link:

Install Accelerator
Install Accelerator

That's it, you are done. Install the accelerator and start searching.

You will find your accelerator in "All Accelerators" context menu item.

TrackBack

TrackBack URL for this entry:
http://blogs.oracle.com/mt/mt-tb.cgi/12683

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on June 29, 2009 9:36 PM.

The previous post in this blog was How to send message to users logged on to a UNIX terminal?.

The next post in this blog is 100 great Freeware/Open Source Tools and Applications for Windows.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type and Oracle