Getting Started with the Google Toolbar API
It's easy for any webmaster to create a useful custom button for the Google Toolbar. This example shows how the webmaster for Slashdot would create a custom button.
Slashdot has an RSS feed at http://rss.slashdot.org/Slashdot/slashdot. Say you want your custom button to display this feed in a menu, refreshing it every hour.
- Install the Google Toolbar
- Go to http://slashdot.org/
- Right click on the search box at the bottom of the page and select "Generate Custom Search..." from the menu that appears
- Click on "Add" and then "OK" in the Custom Button installation dialogs
- Congratulations! You've created a custom button for Slashdot on your Toolbar.
- Open the Slashdot custom button with the Custom Button Editor. Click on the Settings button, select Options, click on the Buttons tab, select the Slashdot button, click on the Edit button, then click on "Use the advanced editor"
- Add the following line between the <button> and </button> tags:
- Save the Custom Button by clicking on "Save to Google Toolbar…"
- You should be able to see your feed in a drop-down menu just right of the Slashdot icon.
- Host your custom button on your website. For example, put it on:
The download URL you use to host the XML file for the button is fairly important, because that URL becomes the button's unique ID for updating the button.
- Link to the custom button on your website. You can create a special link that will enable people to install your custom button in their Google Toolbar just by clicking on it. Create a link on your website called "Add a Slashdot button to my Google Toolbar" and link it to this URL:
- Submit your button to Google's Button Gallery by filling out a simple form. Be sure to test your button and read our Editorial Guidelines first.
Now that you've learned the basics of custom button making, read our full documentation to learn how you can make more advanced buttons.
Slashdot is a trademark of OSTG and is used by permission.