Wet Dog Fur

New York Times comments plus


You will need to install greasemonkey for FireFox before you can install my New York Times comments plus script.

Here’s a screen grab of how the script looks at work on Roger Cohen’s op-ed After the War on Terror.

This began as an experiment with the New York Times API to see if I could bring reader comments back into the pages that spawned the original discussions. Currently the way the site works is that the comments are on a separate page from the article. Personally I prefer to read them all in the same place.

But I quickly discovered that having all the comments on the same page created a pretty long page. An article or blog post on nytimes.com can easily get 200 comments. 500 or 700 is not unheard of. So after the initial step of bringing them all into the same place, the challenge changed into surfacing the best of them. If there are 10 comments I might want to read out of 500, how can I find them?

Fortunately most Times writers read all the comments and choose the ones they feel are the best. And secondly, the readers themselves can recommend comments they think are good. So between these 2 flags, we have a good start at finding quality comments. This data is in the API and readily accessible, and the script uses some simple math to surface the most recommended comments for a particular post, the top 93rd percentile.

Highlighted comment

Highlighted comment

The third element I’ve added is the ability to “follow” a commenter I like. This is just a simple flag, and every time I come to a page where they have written a comment, theirs is highlighted.

Following a commenter

Following a commenter

So now that I know the best comments, as decided by Times editors, the readers, and myself, I highlight those, and minimize everything else. The rest of the comments are shortened into 140 character previews (or “tweets”) that can be expanded if they look interesting. Or you can forget about all this filtering and expand everything in one shot.

Comment key

Comment key

After using this script for a week or so, I eventually came across some commenters that were really great. And I became curious as to what else they were up to on nytimes.com. The API gave me access to a feed of their other comments, and from that feed I could extract their user ID, which is also used in TimesPeople. So my last step was to add the functionality to load their other comments and their TimesPeople recommendations into the page.

Reveal more comments

Reveal more comments

New York Times comments on TimesPeople profiles


bill-j-timespeopleTimesPeople is a social network grafted on to the New York Times website that allows its members to recommend articles and blog posts and share these recommendations with other people in the network.

But these recommendations are divorced from the comments written by the same people. I thought these two things should be closer together, so I tapped into the New York Times API to bring the comments into TimesPeople.

You’ll need to install greasemonkey for FireFox first, and then you can grab my script and install that as well. Afterwards there will be a link on the left of TimesPeople pages that will allow you to load the comments into the page. There’s an example of what I’m talking about in the screenshot on the right, click to get it full size.



This site hasn’t really been much of anything for years. I’d apologize but there isn’t anyone out there to apologize to.

So today I’m going to take it from a whole lot of nothing to a little bit of something.

Welcome aboard and merry Christmas.

This is the online hang of David Seguin, a Canadian web developer currently living in New York and working at nytimes.com

My updates on twitter.com

My recommendations on nytimes.com