pf » Tag: comments on Pete Freitag's Blog
January 31, 2007
Battling Comment Spam
Fighting comment spam seams like a never ending battle. I've done a lot over the last few years to try and squash it on my blog. I started out by implementing a list of words that would trigger the comment to be blocked.
December 18, 2006
Gravatar's not showing up?
I had been wondering why my Gravatar images haven't been showing up for a while in the comments on my blog.
August 01, 2005
How to Comment Code Better
Ryan Campbell has posted some good tips on practical approaches to writing better comments. His article should help you find the median between over commenting, and not commenting enough.
June 24, 2005
Auto-Linking Comments
To avoid comment spam, my blog comments are displayed as plain text. However urls to other entries on my blog are often posted to in the comments. So I wrote a simple regular expression to create hyperlinks out of them:REReplaceNoCase(comments.comment,
"(http://www\.
May 23, 2005
Last 100 Comments
Following Bruce Schneier's lead I created a page listing the 100 most recent comments on my blog.I may also add an RSS feed for recent comments, would anyone find that handy?
Subscribe to my RSS Feed:
RSS
RSS
Pete Freitag is a software engineer, and web developer located in








