Custom accelerators


  1. Posts : 11
    Windows 7 Ultimate
       #1

    Custom accelerators


    I need help creating a custom accelerator for Amazon.com.

    I used to have a custom accelerator but I reset my settings and it's now gone.

    I am having the damndest time trying to recreate it.

    Here is my code that I'm attempting to use:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <os:openServiceDescription
        xmlns:os="http://www.microsoft.com/schemas/ope...escription/1.0">
        <os:homepageUrl>http://www.amazon.com/</os:homepageUrl>
        <os:display>
            <os:name>Search Amazon</os:name>
            <os:icon>http://www.amazon.com/favicon.ico</os:icon>
            <os:description>Search Amazon.com.</os:description>
        </os:display>
        <os:activity category="Amazon">
            <os:activityAction context="selection">
                <os:execute action="Amazon.com: Online Shopping for Electronics, Apparel, Computers, Books, DVDs & more" method="get">
                    <os:parameter name="s" value="{selection}" type="text" /> 
                </os:execute>
            </os:activityAction>
        </os:activity>
    </os:openServiceDescription>
    This gets me nowhere. I'm curious to find out what the real way to do this is? I've tried several different methods and I always continue to receive that I cannot install this accelerator.
      My Computer


  2. Posts : 805
    XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot
       #2

    Here you go, I've just thrown this together for you.. I've tested it and it searches Amazon correctly

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <os:openServiceDescription
        xmlns:os="http://www.microsoft.com/schemas/openservicedescription/1.0">
        <os:homepageUrl>http://www.amazon.com/</os:homepageUrl>
        <os:display>
            <os:name>Search Amazon</os:name>
            <os:icon>http://www.amazon.com/favicon.ico</os:icon>
            <os:description>Search Amazon.com.</os:description>
        </os:display>
        <os:activity category="Amazon">
            <os:activityAction context="selection">
                <os:execute action="http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps" method="get">
                    <os:parameter name="field-keywords" value="{selection}" type="text" /> 
                </os:execute>
            </os:activityAction>
        </os:activity>
    </os:openServiceDescription>
    don't forget it has to be installed from a webpage/server, you cant install from a local folder.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:14.
Find Us