ACME Comment Weblet

What It Is

This little doohickey lets you add a commenting facility to any of your web pages. I wrote it to use on my own pages, but it's general enough to work for anyone. You don't have to run any special weblogging software to have commenting, you can just outsource it.

When you set it up, you get a link on your page saying how many comments there are. If someone clicks on the link, they see the comments and get a form where they can enter a new comment. And if you have your email address on your page, then whenever someone enters a comment you get notification by mail.

Try It

Here's an example, for commenting on this page:

How To Use It

It's real easy. Just add this HTML code to your page:

<br><iframe style="width:10em; height:2em" scrolling="no" frameborder="0" src=""></iframe>

That's it. You can add alignment stuff if you like, or tweak the width and height. You don't have to tell it your URL, it figures that out automatically. If for some reason you want it to use a different URL, for instance a permalink instead of your main weblog URL, you can add a "?url=xxx" parameter after the "link.cgi".


I don't want the emailed notifications, can I turn them off for me?
Well, you could take your address off the page. Aside from that, no, sorry. Maybe I'll add a customization settings page later. For now I guess you could use a spam filter to get rid of the messages.
I do want the emailed notifications, but I'm not getting them; why not?
Maybe your email address on the page is not in the proper HTML format? It should be something like this:
<address><a href="mailto:someone@some.where">Your Name Here</a></address>
The key parts are "address", "href", and "mailto".
Can I delete comments?
No. Again, maybe I'll add that later.
Is there any security on the names and email addresses?
Nope. Anyone can pretend they are you. You can give a fake name and address, or none at all if you like. Don't believe anything you see here. Or anywhere else on the net, for that matter.
Hey, it remembered my name and email from last time. Are you cookieing me???
You bet. This is exactly the kind of thing that cookies are supposed to be used for.
What the heck is a weblet?
I needed a name for a little web application that gets embedded in another page. I googled for 'weblet' and people were using the term, but not in any consistent way. So I decided to use it for this. Some people also call them 'pagelets', but I don't like that because the word looks ugly, plus there's more going on here than just a page.

Back to ACME Labs.