Friday, August 1, 2008

Bookmarking favourites

I just found this simple technique of bookmarking your pages. I will talk wrt to Firefox, even though it can be extended to any browser. There are a number of sites like Php help, Java doc which provide an explanation of the API.

How nice it would be if you were to just type "php array" and the array documentation in Php comes up ? :-). Well it can be done. :-)

Step 1: Create a new Bookmark (fairly simple to anyone who uses a browser)

Step 2: Right click on the bookmark and go to Properties

Step 3: Give the location: http://php.net/%s

Step 4: Set the keyword to php

Step 5: On your location bar, say "php array", for that matter any function :-), the doc comes up :D

Am trying to do a generic method for JavaDoc also. However the Javadoc provided by Sun contains webaddress like http://blah...../api//. I am yet to figure out, how to have 2 different arguments passed to the command.
Anyways, for now be happy with this :-)

There is another cool functionality that you can add to this. Ever wondered, what your search results would be in Yahoo!, Google, etc..

Step 1: Create a new Bookmark

Step 2: Right click on the bookmark -> Properties tab

Step 3: Set location to javascript:void(window.open('http://www.google.com/search?q=%s'));void(window.open('http://www.search.yahoo.com/search?p=%s'))

Step 4: Set keyword to search

Step 5: Say "search vivek" on your location bar
Up comes 2 windows, one Google result and the other Yahoo! :D

I have another one too.
Bookmark location: http://en.wiktionary.org/wiki/%s
Try setting this up :-)

Good Luck, have fun with bookmarks :D

No comments: