I have created a bookmarklet that lets me paste keywords that link to results from my blog generated by Google Custom Search for my blog.
I have mucked with Rakesh’s Technorati tagging bookmarklet to create my Google Custom Search bookmarklet.
The basic code of the bookmarklet is this:
Don’t just download the code and begin to use it right away (even if you know how this thing works).
You must change the code so that it can help you create keywords for your blog that shows results yielded by the Google Custom Search engine for your blog.
Instructions for modifying the Google Custom Search bookmarklet code for your wordpress.com blog
1. Download the file.
2. Copy the phrase below:
3. Open the file in your text editor (as in Windows Notepad).
If you don’t have a text editor, download a free text editor.
4. Click Edit in your text editor and then click Replace.
Paste the copied phrase in the Find field.
5. Open the link to your Google Custom Search Engine.
Copy the url of the Google Custom Search Engine for your blog from the address bar.
If you do not have created one already, learn how to create a Google Custom Search Engine for your free wordpress.com blog here:
How to add a Google Custom Search engine to a wordpress.com blog
6. Go back to your Text editor.
Paste the url in the Replace field.
7. Save the file.
I gave mine the name site-search-tags.txt
You can give it any valid name you want to help you recognise the file.
8. Open the file in your Firefox browser.
The bookmarklet code will appear.
So how do the site search tags created by Google Custom Search for my blog look?
The contents between the line are generated with the help of the bookmarklet.
Why have I begun to use site search tags?
Well, adding site search tags in a wordpress.com blog is nothing new. Lorelle used it for a long time in her blog. You can read about it here:
Lorelle’s site search tags fetch a list of articles from Lorelle’s blog and the search is powered by wordpress.com’s search engine.
However, I prefer Google Custom Search Engine to wordpress.com search engine. I will explain the reason in the next post.