2007 Apr 8, 3:05Shortcut Tag?
I just saw this on
another user's delicious links:
a link to ESV search that's
tagged with, among other things, "shortcut:esv". When viewed on del.icio.us there's a text box that lets you search using that link. I hadn't seen this before, but it seems pretty cool and I'm
surprised I hadn't seen it previously. A delicious post with such a tag ends up looking like the following:
I tried searching for information on this and I've found
other delicious users doing the same thing,
but nothing about the tag itself. If you know any information especially official information from del.icio.us itself please post links in reply to this post. So without further preface here's what
I've learned about the del.icio.us shortcut tag.
How-to
To get a search box in your del.icio.us links make a post that satisfies the following requirements:
- One of the tags must begin with the text 'shortcut:'. You can have more text following that in the tag if you like but it must at least start with 'shortcut:'.
- The 'url' you post must be a shortcut url rather than an actual URL. It must contain a '%s' with a lowercase 's'. When you enter text into the textbox on the del.icio.us page the text will
replace the '%s' after being percent-encoded. For example 'http://www.google.com/search?hl=en&q=%s' is the shortcut url for Google and if you type 'foo bar' into the textbox the URI you will
navigate to would be 'http://www.google.com/search?hl=en&q=foo%20bar'.
Complaints
This is neat but I do have a few complaints:
- The text from the textbox is percent-encoded before replacing the '%s'. Most sites use application/x-www-form-urlencoded
which encodes spaces as '+' rather than '%20'.
- The shortcut url format seems to be taken from Mozilla's Firefox Custom Keywords. Its a shame it wasn't based on something more
adaptable like the OpenSearch URL template syntax.
- A '%s' in the url means technically what you're submitting to del.icio.us isn't a URI as defined by the standard.
- Allowing text after 'shortcut:' means you can't look at all of a user's shortcut using this tag.
The next step is to create a tool to sync my
IE7 search providers with my shortcuts saved to delicious...
technical howto tagging tool tag delicious 2007 Feb 22, 2:35Tool I've built that allows you to turn Mozilla's search descriptions into OpenSearch descriptions that may be used in IE7.
search ie ie7 browser me projects personal setupnewcomputer 2006 Dec 28, 1:09Humorous graph likely produced by 3rd party and in no way generated by Microsoft.
firefox humor comic microsoft mozilla ie witchcraft 2006 Nov 6, 6:51I've updated my webpage some more. I now have the onmouseover on the thumbnails in my photos section. So that's fun. I'm using the
flickr badge
script and then including a javascript file I made that finds the flickr imgs in my page and adds in onmouseover and onmouseout events. I've also got the whole thing validating on
W3C's HTML validator and
W3C's CSS validator.
The one thing I'd like to fix is the comments for my blog posts. They aren't included in the RSS feed. I'm shopping for a blog site that supports
comment counts in the RSS feed at least. If possible I'd like the actual comments to appear in
the feed but I doubt anyone does that.
css html script validator homepage flickr 2006 Oct 27, 1:56IE team sends FireFox team a congratulatory cake.
microsoft firefox mozilla browser-war cake article humor internet ie ie7 2005 Oct 11, 12:07Mozilla's IDN Whitelist
internet security idna firefox unicode uri