saidit, a Greasemonkey script for reddit
January 23, 2009The saidit script enhances reddit comment pages by highlighting unread comments. It works by keeping track of the comments you’ve already viewed. Here’s what it looks like:
Features
- Highlights unread reddit comments
- Read comments are stored locally
- Automatic removal of old data
- Efficient implementation
Installation
If you’d like to give it a spin, make sure you have Greasemonkey installed. Then, just install saidit from userscripts.org. Have fun!
The Hype Machine’s 2008 zeitgeist
January 10, 2009The folks over at the Hype Machine have created a 2008 music zeitgeist that can best be described as a loving work of information wizardry. To the curious and musically-inclined, it’s an incredible resource for mining the past year’s trends in popular music. To followers of the blogosphere, the Hype Machine’s offering is unique because all of the content is derived from the social web: the rankings were based on individual bloggers’ year-end top lists, the reviews were written by thousands of independent music fans, and the artist photos were shot by a horde of different flickr users.







Hack: Wordpress cancel reply button
February 28, 2009I’m a huge fan of the commenting improvements introduced in Wordpress 2.7. It’s been a tremendous boon to have first-class threaded commenting features right out of the box.
However, one thing I’ve never understood is the decision to use an anchor element to cancel an open reply box. I’m far more accustomed to the reddit style of placing a cancel button next to the submit button, like this:
The problem with the anchor element generated by Wordpress is that it looks really out of place when arranged next to the “submit comment” button. I had hoped there would be a parameter to change the anchor element into a button, but was disappointed to find that this particular HTML is hardcoded into the
get_cancel_comment_reply_link()function.However, the function does provide a filter hook, which I’ve used to make the change I desired. I simply intercept the HTML and return my own version with a button. It’s not very elegant, but it works.
If you’d like to use this hack, just add the following code to your theme’s
functions.phpfile: