Command lines

Here's a nifty piece of in-browser behaviour…



Fire up Chrome and in the address field type "huffduffer.com" followed by a space and BOOM! …the address field transforms into a site-specific search field: "Search Huffduffer."



That's thanks to this XML file that's been on Huffduffer since day one. It's the most straightforward example of the OpenSearch format.



It's the same format that powers Firefox's search providers. If you visit Huffduffer with Firefox and click in the browser's search field, you'll see the option to "Add Huffduffer" to the list of search engines.



I can't imagine many people will actually do that but still, no harm in providing the option.



Another option that's been added to Huffduffer recently (thanks to Andy's hacking) is the ability to access the API through YQL. Feel free to open up the console and have a play around.





Tagged with
huffduffer
opensearch
yql
api

 •  0 comments  •  flag
Share on Twitter
Published on January 08, 2012 14:59
No comments have been added yet.


Jeremy Keith's Blog

Jeremy Keith
Jeremy Keith isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Jeremy Keith's blog with rss.