Firefox has a function where you can set up bookmarks that can be called by typing a keyword in the address bar. For example: If I made a bookmark to Wikipedia and assign that bookmark the keyword "w", then I just have to go the address bar, type "w", and hit enter. Firefox fills in the address. Firefox also supports text replacement after the keyword is entered. So say, instead of Wikipedia's address, I bookmarked http://en.wikipedia.org/wiki/Special:Search?search=%s (note the %s), I could type "w Jimmy Whales" into my address bar and it would go to the link "http://en.wikipedia.org/wiki/Special:Search?search=Jimmy+Whales" Which would then immediately go to http://en.wikipedia.org/wiki/Jimmy_Whales Lots of online services provide support for this kind of hackery, and Nominatim is no exception... but I can't figure out how to get nominatim's search working with OpenStreetMap's map. Nominatims map seems to be different from OSM's, even though I'm sure they are pulling from the same data, OSM's map seems to work faster and provides more landmarks. Is there any way I can use Firefox's keyword search to get nominatim's results on OSM's map? asked 23 Nov '11, 08:28 ghoti |
There is an easy way to get search keywords into Firefox if the website offers an OpenSearch description:
Most OpenStreetMap services offer this feature - including osm.org -, so there is hardly a reason to construct search bookmarks manually. answered 23 Nov '11, 09:33 Tordanik I appreciate you feel this is a bad way to use a browser. However you will have to take my word for the fact that the secondary search bar was taking up needed space, and the ability to combine previously visited webpage results with my current search query is a valuable interface improvement. I did not realize it supported OpenSearch, and by dissecting the XML file, I should be able to create a search string. I will post that if it works out.
(23 Nov '11, 12:25)
ghoti
This seems not to work (with firefox v19.0).
(25 Apr '13, 09:42)
doak
Still works for me (using Firefox 20.0, but I wouldn't expect that to make a difference).
(25 Apr '13, 12:56)
Tordanik
|