New York Times.com Killer Feature

So I’m reading an article I find via Digg. The article’s on the New York Times website. While reading, I run across a word I am not familiar with.

Automatically, I want to put this word into Google. Firefox (and I suppose IE) allows users to highlight text, right click, and choose “Search Google for” the selected text. If Wikipedia is the currently selected search engine in the toolbar search box, the right click allows the user to “Search Wikipedia for” and so on.

Of course, the easiest way to highlight a single word is by double-clicking on it. So that’s what I do. I double click on “abstemious.”

Suddenly a new window appears. While it’s loading, I think I must have done something wrong. Then the page loads. It’s a New York Times.com-powered dictionary lookup of “abstemious.” This is like the coolest thing ever. Well, maybe not ever.

Examining the URL of the newly opened window, we see a few things (with some line breaks to reduce ugliness).

http://query.nytimes.com/search/query?
srchst=ref&
query=more%20valuable%20to%20abstemious%20Martins%20than%20to&
fw=3

The query string includes, from the article, three words before the highlighted term and three words after the highlighted term. The field fw (focus word?) at the end of the query string indicates which word to pass to the dictionary, using a zero-based array. (I tried double-clicking other words in the article and changing the value of fw to test this.) I can only imagine that including surrounding words might provide context to generate an even more accurate definition. Why the target word is variable, however, eludes me.

Oh, and srchhst=ref sounds like search history = reference. Whatever that means.

Please, test this feature out for yourself. Head over to the New York Times site, click on any story, then double click on any word. (The feature doesn’t appear to work from the front page.) Awesome!

1 Response to “New York Times.com Killer Feature”


Comments are currently closed.

@DanielPremo

  • Is this SEC - Big 12 bowl a political play to downplay the Big Ten/Pac 12 Rose Bowl "we're more important than everybody else" chip? 1 day ago
  • @meyerweb Will we have to use the viewport meta tag to control how websites display on HiDPI Macs? 1 day ago
  • @JustinMcElroy Curt Schilling likes the tea party?! This guy's deuchebag resume is huge. 1 day ago
  • I'm seeing multiple "OMG now server queues!" posts about Diablo, but aren't servers down for maintenance right now? 4 days ago
  • @Flickr Can I break my Flickr account out of my Yahoo account? 4 days ago
  • @jaysonst @mikeandmike A-rod and Pujols? 4 days ago
  • Got some coins today. What am I supposed to do with them again? 1 week ago
  • @sportsguy33 Why did LeBron steal Dr. Octopus' glasses? 1 week ago
  • More updates...