urlEncodeItem creates a url-encoded string describing the currently-selected item in search results. This string can be inserted in an HTML link as part of the HREF.