Silliness is Golden

sebbo.org :: diaries :: diary :: geek :: site :: comments1

Thu, Feb 17, 2005

Comments are back up.

I took down comments on Sebbo.org right before heading for Burningman since I knew I wouldn't be available to hand-prune the thickets of comments spam that were twining around every post here. I made a vague promise to "do something" about the problem shortly after getting back.

Or, rather, I deactivated comments. The web apparatus for posting the comments was still there--they just didn't show up.

Six months later, I finally added a one-line hack that I think should keep the spammers at bay for a while. For those who care, it's:

foreach ( @fields) { if (param($_) =~ /<.*>/) {die print "Content-type: text/plain\n\n" . "Die, spamz0r!"; }}

at line 123 of the Writeback plugin.

After I did this, I discovered that the "disabled" Writeback had still been writing all the last six months' spam to disk. It took me almost an hour to hack it all away, attempting to leave the relatively paltry number of actual comments intact.

Now, however, things seem to be working. I expect to add more, better, and mo' betta features to my comments system in the next week or so, but at least I have something again now.

NOTE TO SEBBOFEED READERS: LJ's comment system is great, but it deletes syndidated articles and all their comments after about a month. A bunch of great discussion has been permanently deleted that way, including Miriam's explanation of using dowel hats to drive off seagulls, Tim's experiences with Bostonian's attitudes toward eccentrics, and that great one about Malaysian prononouns from someone I didn't know. I'm not telling you shouldn't comment at Sebbofeed, but it is writing on sand.

[/diaries/diary/geek/site/] 4 comments

Gravatar

comment by bluepapercup:

superw00t!

Hopefully everyone will still want to trek over here to discuss, since

  1. discussion is cool
  2. markdown is geeky and great
  3. a third thing
Gravatar

comment by i o n:

I think the solution of just having angle brackets choke and die is draconian, but likely useful. Make sure the pattern above (the one with the angle brackets :) actually works across lines... as I understand it all you would have to do to bypass it is put the close angle on a new line.

Note also (if you do not know about it already, which I somehow doubt) Google's new attribute specifically for blog comments: "nofollow" which as it becomes popular will make comment spam a lot less useful to its excretors.

I like the metaphor of writing on sand...

Gravatar

Testing... by Sebbo:

Does that really

work

Gravatar

comment by Sebbo:

Apparently so.

My comments form now uses Markdown formatting syntax EXCLUSIVELY. If you use HTML in your comments (or indeed <pointy brackets> for any reason at all) you will be assumed to be a spambot, and your entire comment will be consigned to the Great Howling Internet Void. If you want to get fancy, have a look at the cheatsheet or the full description. Otherwise just type away.

 
Name:
Email: (for Gravatar icon--will not be displayed)
Website:(For e-mail, replace 'http://' with 'mailto:')
Title:
Comments:
Save my Name and URL/Email for next time
What's two and two?

 

RSS feed Atom feed public key contact me Valid XHTML about this site blosxom powered Dreamhost hosted Firefox tested CC Licensed What? Huh?

CATEGORIES


Advanced Search

PASSING FANCIES

Category Archives -> Full Archives ->