<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Wet Dog Fur &#187; Greasemonkey</title> <atom:link href="http://wetdogfur.com/category/greasemonkey/feed" rel="self" type="application/rss+xml" /><link>http://wetdogfur.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Tue, 03 Mar 2009 22:48:33 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.4</generator> <item><title>New York Times comments plus</title><link>http://wetdogfur.com/greasemonkey/new-york-times-comments-plus</link> <comments>http://wetdogfur.com/greasemonkey/new-york-times-comments-plus#comments</comments> <pubDate>Tue, 17 Feb 2009 05:26:34 +0000</pubDate> <dc:creator>admin</dc:creator> <category><![CDATA[Greasemonkey]]></category><guid
isPermaLink="false">http://wetdogfur.com/?p=20</guid> <description><![CDATA[You will need to install greasemonkey for FireFox before you can install my New York Times comments plus script. Here&#8217;s a screen grab of how the script looks at work on Roger Cohen&#8217;s op-ed After the War on Terror. This began as an experiment with the New York Times API to see if I could [...]]]></description> <content:encoded><![CDATA[<p>You will need to install <a
href="https://addons.mozilla.org/en-US/firefox/addon/748">greasemonkey</a> for FireFox before you can install my <a
href="http://userscripts.org/scripts/show/39995">New York Times comments plus</a> script.</p><p><a
href="http://wetdogfur.com/wp-content/uploads/2009/02/after_the_war_on_terror-50.png">Here&#8217;s a screen grab</a> of how the script looks at work on Roger Cohen&#8217;s op-ed <a
href="http://www.nytimes.com/2009/01/29/opinion/29cohen.html">After the War on Terror</a>.</p><p>This began as an experiment with the <a
href="http://developer.nytimes.com/">New York Times API</a> 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 <a
href="http://community.nytimes.com/article/comments/2009/02/16/opinion/16krugman.html">comments</a> are on a separate page from the <a
href="http://www.nytimes.com/2009/02/16/opinion/16krugman.html">article</a>. Personally I prefer to read them all in the same place.</p><p>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?</p><p>Fortunately most <em>Times</em> 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.</p><p><a
href="http://wetdogfur.com/wp-content/uploads/2009/02/after_the_war_on_terror_alan.png"></a></p><div
id="attachment_30" class="wp-caption aligncenter" style="width: 406px"><a
href="http://wetdogfur.com/wp-content/uploads/2009/02/after_the_war_on_terror_alan.png"><img
class="size-full wp-image-30" title="after_the_war_on_terror_alan" src="http://wetdogfur.com/wp-content/uploads/2009/02/after_the_war_on_terror_alan.png" alt="Highlighted comment" width="396" height="156" /></a><p
class="wp-caption-text">Highlighted comment</p></div><p>The third element I&#8217;ve added is the ability to &#8220;follow&#8221; 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.</p><div
id="attachment_33" class="wp-caption aligncenter" style="width: 393px"><a
href="http://wetdogfur.com/wp-content/uploads/2009/02/after_the_war_on_terror_liz.png"><img
class="size-full wp-image-33" title="after_the_war_on_terror_liz" src="http://wetdogfur.com/wp-content/uploads/2009/02/after_the_war_on_terror_liz.png" alt="Following a commenter" width="383" height="147" /></a><p
class="wp-caption-text">Following a commenter</p></div><p>So now that I know the best comments, as decided by <em>Times</em> editors, the readers, and myself, I highlight those, and minimize everything else. The rest of the comments are shortened into 140 character previews (or &#8220;tweets&#8221;) that can be expanded if they look interesting. Or you can forget about all this filtering and expand everything in one shot.</p><p><a
href="http://wetdogfur.com/wp-content/uploads/2009/02/after_the_war_on_terror_commentreport.png"></a></p><div
id="attachment_28" class="wp-caption aligncenter" style="width: 489px"><a
href="http://wetdogfur.com/wp-content/uploads/2009/02/after_the_war_on_terror_commentreport.png"><img
class="size-full wp-image-28" title="after_the_war_on_terror_commentreport" src="http://wetdogfur.com/wp-content/uploads/2009/02/after_the_war_on_terror_commentreport.png" alt="Comment key" width="479" height="68" /></a><p
class="wp-caption-text">Comment key</p></div><p>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 <a
href="http://timespeople.nytimes.com/home/">TimesPeople</a>. So my last step was to add the functionality to load their other comments and their TimesPeople recommendations into the page.</p><div
id="attachment_35" class="wp-caption aligncenter" style="width: 523px"><a
href="http://wetdogfur.com/wp-content/uploads/2009/02/after-the-war-on-terror-more-comments.png"><img
class="size-full wp-image-35" title="after-the-war-on-terror-more-comments" src="http://wetdogfur.com/wp-content/uploads/2009/02/after-the-war-on-terror-more-comments.png" alt="Reveal more comments" width="513" height="283" /></a><p
class="wp-caption-text">Reveal more comments</p></div> ]]></content:encoded> <wfw:commentRss>http://wetdogfur.com/greasemonkey/new-york-times-comments-plus/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>New York Times comments on TimesPeople profiles</title><link>http://wetdogfur.com/greasemonkey/new-york-times-comments-on-timespeople-profile</link> <comments>http://wetdogfur.com/greasemonkey/new-york-times-comments-on-timespeople-profile#comments</comments> <pubDate>Mon, 16 Feb 2009 06:38:53 +0000</pubDate> <dc:creator>admin</dc:creator> <category><![CDATA[Greasemonkey]]></category><guid
isPermaLink="false">http://wetdogfur.com/?p=11</guid> <description><![CDATA[TimesPeople 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, [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://wetdogfur.com/wp-content/uploads/2009/02/bill-j-timespeople.png"><img
class="alignright size-medium wp-image-12" title="bill-j-timespeople" src="http://wetdogfur.com/wp-content/uploads/2009/02/bill-j-timespeople-84x300.png" alt="bill-j-timespeople" width="84" height="300" /></a><a
href="http://timespeople.nytimes.com/home/">TimesPeople</a> 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.</p><p>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 <a
href="http://developer.nytimes.com/">New York Times API</a> to bring the comments into TimesPeople.</p><p>You&#8217;ll need to install <a
href="https://addons.mozilla.org/en-US/firefox/addon/748">greasemonkey</a> for FireFox first, and then you can <a
href="http://userscripts.org/scripts/show/42483">grab my script</a> 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&#8217;s an example of what I&#8217;m talking about in the screenshot on the right, click to get it full size.</p> ]]></content:encoded> <wfw:commentRss>http://wetdogfur.com/greasemonkey/new-york-times-comments-on-timespeople-profile/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: wetdogfur.com @ 2012-02-08 23:43:13 -->
