New comments system live for Mimsy!
This weekend I enabled the new comments system for all of Mimsy. Over the next several days you’ll see the JSKit/Echo code disappearing in favor of the new local code. The code is very light: only a tiny, unnecessary JavaScript snippet and a handful of cookies. Both JavaScript and cookies are optional.
I’ve been using it for several months on the much-lower-traffic The Biblyon Broadsheet. As I wrote there, it’s a simple system: no logins. If you have cookies turned on it will remember your most recent name, URL, location, and email (all of which, except for name, are optional). See The Ten Commandments for the rules. This much simpler system is based on my experience using something similar at the Ace of Spades HQ.
Emails are private; they’re so that I can contact you if I decide I need to. But you can leave it blank if you don’t want me to be able to. This is better than JSKit/Echo, where the only way to contact you that I could find was to leave another comment on my blog.1
The only somewhat unique requirement is that you take some time between writing and posting to preview. It will tell you how many seconds to wait before posting, and if you have JavaScript turned on it will count them down for you.
I have been planning on switching to a custom comments system ever since I started using JSKit; it was always a temporary solution. I don’t like using web tracking services, which is what JSKit/Echo really is: it’s a way for Echo to track people’s movements across different sites. That’s why you don’t currently see Google Analytics on my pages either: because the code is loaded from Google’s/Echo’s servers, Google (in the case of analytics) and Echo (in the case of comments) can track your movement across any page that uses that code. I’m just enough of a privacy nut that that bothers me.
Because I have access to the database, I’ve got it set to tentatively approve new posts rather than wait for moderation as I did with JSKit. If something looks like spam, or if the system sees something else odd going on (for example, multiple posts from the same IP over a short period of time) it can tentatively disapprove new posts. In each case, I have a simple database backend (in Django) to give me an overview and confirm or revoke the decisions made by the automated system.
My hope is that this will make it easier for me, because I’ll be able to detect the most egregious spammers. Knock on wood, much of that hasn’t been necessary during the test run on The Biblyon Broadsheet, I suspect because the built-in delay confuses most (but not all) comment spammers.
Some pages will be closed to comments automatically: most if not all of the “editorial” posts, for example, will close once they’ve dropped off of the home page. The rest will remain open indefinitely, because they, especially pages on code, actually end up needing more comments as time goes by.
All of the JSKit/Echo comments as of the time of the switch2 have been transferred over. That they made it easy to get the data out as an XML file is the main reason I was willing to use them.3
In theory, now that I’ve got access to the database I could also message you directly when you visit any page in the blog, as long as you’re using cookies. But I don’t have anything like that set up yet.
↑Echo seems to allow people to delete their comments, and any deleted comments, while I have them in old backups, have not been transferred.
↑If you’re interested in how I did that, see Parsing JSKit/Echo XML comments files.
↑
- Ace of Spades HQ: Ace
- Irreverant, insightful, and often even informative, I suggest putting Ace of Spades HQ on your regular reading list. “Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats.”
- The Biblyon Broadsheet
- Like adventurers of old you will delve into forgotten tombs where creatures of myth stalk the darkness. You will search uncharted wilderness for lost knowledge and hidden treasure. Where the hand-scrawled sign warns “beyond here lie dragons,” your stories begin.
- Parsing JSKit/Echo XML comments files
- While I’m not a big fan of remote comment systems for privacy reasons, I was willing to use JSKit as a temporary solution because they provide an easy XML dump of posted comments. This weekend, I finally moved my main blog to custom comments; here’s how I parsed JSKit’s XML file.
- The Ten Commandments of commenting (turned up to eleven)
- Rule zero is always in effect: post intelligently.
More comments
- Preflighting blog comments in the Pythonista share screen
- I now use Pythonista’s sharing extension to ensure that comments on other people’s blogs are appropriately formatted.
- The Ten Commandments of commenting (turned up to eleven)
- Rule zero is always in effect: post intelligently.
- Comment on the Broadsheet
- I’ve enabled comments on recent articles on this blog. A long time ago I used Haloscan, but that didn’t work out very well and eventually they were bought by JS-Kit. I use JS-Kit for the main blog, but they started charging sometime afterward, and while the hoboes.com address is grandfathered in, the godsmonsters.com address was not.
More web cookies
- Cooky Controversy
- You may have heard about the controversy over letting web sites store “cookies” in your web browser. There are privacy and security concerns over these cookies. These concerns are not as major as the detractors claim, but neither are they as minor as the boosters claim.