Blog Archive

22 September 2005

Student Til I Die...

Around eight years ago, I packed up my dad’s car and we drove over Snakes Pass for me to start my first year at university. Earlier this week – more than five years after I graduated – I finally paid off the dreaded student loan. (If only I’d had a million dollar money making scheme before I went to uni!) So, I’ll now have a little bit of extra cash each month that I can use to buy something really cool...

It’s also Freshers’ Week down at the student union this week and I’m ashamed proud to say that I’ve managed to go to every Freshers’ Week since 1997, thanks to my well-used Union Life Membership. This year will therefore be my 9th Freshers’ Week!

Anyway, best go and learn all the lyrics to The Proclaimers I’m Gonna Be (500 miles) ready for Pop Tarts!

Ruscoe.net welcomes all students to Sheffield!

Labels:


14 September 2005

Google Blog Search

Aha! So the reason why Google’s been downloading my Atom feed every five minutes or so is because they seem to have been indexing blogs like crazy:

It looks both are even indexing blogs regardless of whether they’re powered by Blogger or not. You can even get the search results as feeds too, which is great for keeping up-to-date on the latest blogs for a particular subject. You can read more about it here.

And, linked to my previous post about Google Toolbar Custom Searches, here’s the necessary registry file to install a Google Blog Search custom search button in your Google Toolbar:

Labels: ,


6 September 2005

Google Toolbar Custom Searches

I logged in to Gmail just now and saw a new feature on the Settings page.

New! Get the Google Toolbar, now with Gmail search, and search your mail quicker than ever.

The installer download on that page – named GmailToolbarInstaller.exe – simply added a Gmail button to my Google Toolbar that allows me to search Gmail (or takes me to my Gmail inbox if I don’t enter any search terms).

I figured that since the install was only 15 KB, it must have been a pretty simple upgrade. On the surface, the only changes were that a Gmail icon was now in the toolbar and in the "Search the Web" drop down next to the search box. Also, the "Search" tab of the Google Toolbar "Options" window had a new section called "Add Custom Search Buttons to your Toolbar" that listed the Gmail icon with a checkbox next to it. Hunting around in Registry Editor, I found this new key:

HKEY_CURRENT_USER\Software\Google\CustomSearch\Gmail

The term "CustomSearch" was intriguing, so I decided to try and add my own custom searches. What I found was that you can add you own custom search buttons to the Google Toolbar by making a few simple changes to your registry...

Caution: Editing your registry incorrectly can cause irreparable system damage. Fiddle with it at your own risk!

Here’s an example of an exported registry key that adds a Yahoo! Search button:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Google\CustomSearch\Yahoo]
"Site"="http://search.yahoo.com/"
"Tip"="Yahoo! Search"
"Title"="Yahoo! Search"
"Url"="http://search.yahoo.com/search?p={query}"

Likewise, here’s one that will add an MSN Search button:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Google\CustomSearch\MSN]
"Url"="http://search.msn.com/results.aspx?q={query}"
"Site"="http://search.msn.com/"
"Tip"="MSN Search"
"Title"="MSN Search"

Basically, you can add a button for any site that uses a query string! For example, here’s one that will query Alexa for a website’s details when you enter a domain:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Google\CustomSearch\Alexa]
"Site"="http://www.alexa.com/"
"Tip"="Alexa"
"Title"="Alexa"
"Url"="http://www.alexa.com/data/details/?url={query}"

These buttons then appear in the drop down list of search buttons next to the search box:

Google Toolbar Custom Search Buttons

... or you can add them to your toolbar from the "Search" tab of the Google Toolbar "Options" window:

Google Toolbar Custom Search Options

Here are some sample registry files that automatically install the search buttons:

Simply right-click the links, download the files (selecting Save Target As...), change the extension to ".reg" and just double-click to install the custom search buttons. [Insert usual disclaimer about me not being held responsible for your actions here.]

At last – I only need to have one toolbar installed that will handle all my search needs!

Update: 16 September 2005
I’ve just discovered that these instructions work for both Internet Explorer and Firefox, although I don’t know where Firefox stores which custom search buttons it should display in the toolbar...

Update: 6 November 2005

Several people have asked me how to create hex encoded icons for use in these files, so here’s how it’s done:

  1. If it exists, download the “favicon.ico” file from the root of the website you’re creating – i.e. http://ruscoe.net/favicon.ico. (If the site doesn’t have its own icon, you can either create your own 16 x 16 ICO or GIF to use instead.)
  2. Open the icon file in a hex editor that allows you to “copy as hex string” – such as XVI32 by Christian Maas.
  3. Copy the hex code of the icon and paste it into the registry file with commas instead of spaces and slashes at the end of each line, as shown in the examples above.

Labels: