Various ways to include comments on a static site (2018)
darekkay.com
darekkay.com
I instead share a contact e-mail. This works as a good deterrent to filter the pointless complainers, while still allowing those who truly need to contact me to have a way to do so.
EDIT: Just might need to clarify that I don't mean that HN is overwhelmingly negative, just that the comments usually revolve about nitpicking terms and concepts which would fall into the concept of something "negative".
Even when it's critical though, I still see that as highly useful if it is not done from a merely dogmatic viewpoint. Picking apart an idea or argument is very useful in understanding it. This should be done especially if a person disagrees with it because absent dissection it is virtually impossible to pinpoint not just why and what you disagree with, but also whether or not that flaw can be rectified.
I've come into conversations at times where I disagreed (or agreed) with something only to see a key component elaborated or additional evidence provided, changing my mind.
So, I see a community in HN that ruthlessly dissects ideas. Most things aren't perfect so there will always be some degree of "that's wrong". I don't think that makes HN inherently negative. Though yes, I do occasionally see comments that seem to go out of their way to find flaws peripheral to the topic at hand and inflate them, derailing more productive conversation.
That’s why I keep coming back to HN. But even I have to admit that those valuable posts are in the minority of comments these days.
You’re right that the HN community tries to dissect everything, but a staggering number of those dissection attempts are coming from people who don’t know what they’re talking about or who didn’t bother reading the article. I’ve seen countless comment sections where the majority of comments are from angry people who clearly didn’t read the article but want to complain about what they assumed the article said.
Worse, the bad comments are often extremely confident despite being wrong. This effect is most obvious when you click on a comment section for something you know very deeply, only to see highly upvoted comments saying things that can often be disproved with 2 minutes of Googling.
The good comments can still be found, but it takes work to find them.
I think Dan Luu said it best:
> HN comments are terrible. On any topic I’m informed about, the vast majority of comments are pretty clearly wrong. Most of the time, there are zero comments from people who know anything about the topic and the top comment is reasonable sounding but totally incorrect. Additionally, many comments are gratuitously mean.
His full blog post: https://danluu.com/hn-comments/
When a user submits a comment, echochamber.js will save the comment to the user's LocalStorage, so when they return to the page, they can be confident that their voice is being heard, and feel engaged with your very engaging content. It does not make any HTTP requests. Since LocalStorage is only local, you and your database need not be burdened with other people's opinions.
The strange thing was that you could post to the site, and it would be persisted there, but it wouldn’t get forwarded to 4chan. So you could post effectively, and see continuous conversation, but no one would ever respond. An odd form of self-inflicted hellbanning.
I removed the comments because I realized that they weren't worth the extra JS on the page and hassle of moderation.
Maybe the trick is to not get to real success numbers, but I could think of dozens of blogs I read with 0-10 comments per post and no discernible amount of trolling, spamming (well, automated tools help ofc) and so on.
There's the occasional lucid, intelligent comment that truly elevates a post or inspires someone, but they are by far the rarity.
On the other hand, I'm speaking of comments on larger sites, not small blogs.
I have no interest in allowing comments on my personal blog. If people want to engage me, they will do so directly.
Well no offense but what are you doing here if you think that the comments are so bad? I quite disagree, hn comment threads are generally quite good quality and civil, and you will find knowledgeable people chiming in.
>almost every discussion revolves around people trying to find things to complain about
Quite meta x))
Also: here is a blog which definitely wouldn't be the same without comments https://terrytao.wordpress.com/
I actually wonder this a lot, strange behavior isn't it? lol
Counterpoint: I've created a blog with highly technical content a couple of years ago and put there a simple home-grown commenting system with manual moderation. I expected a lot of low quality content but actually your 99% were rather a 9% and some people spent serious time writing excellent in depth comments, pointing out the limitations of the subject or extending it it one way or another.
I guess the quality of the comments on receives is directly proportional to the time taken by the content creator to deliver good quality articles and the site UX in general. Of course there's always some noise and spam but small sites are not Reddit or HN and the comment sections don't necessarily need to reflect what you see here or on other big social sites.
I think slowing down the speed at which a person can respond will greatly decrease low value content. And probably be better for everyone involved.
An example, my local paper is trash. Yet, to comment online I have to register and subscribe and .... it's hard, so I just don't. I don't comment, or read that paper anymore.
Which is a somewhat bad example, because I'm not consuming the content. However if something is low quality or I disagree with it, or agree even, I need to pair action with my reaction. I'm pretty busy these days. So to complain or compliment It needs to be good.
Back when I blogged and people read blogs and commented on them.
I have developed something I call an "Iceberg Article"[1] which is "... a single page of writing which links to a larger collection of supporting documents, resources and services."
One of those supporting resources could be a discussion thread - or even a forum.
I don't think every "Iceberg Article" needs to have a discussion - and none of mine do, as of yet. I think it can have its place, however.
My blog isn't getting much traffic or many comments though. I would imagine that as something gets more popular it attracts more negative attention. That being said, the more popular niche photography blogs ( mainly about film photography ) have largely positive comments as well.
Promoting just an email will yield a much lower communication rate. Which might be OK in some cases but it's also nice to receive comments. As long as they are not terrible...
The comment field medium isn't particularly conducive to meaningful and interesting conversations, which is ultimately what I want to promote if I put something on the Internet. At best you get posturing.
Emails (or blog posts) require more thought to be put into what's written, and they also even the playing field. It feels a lot more like a conversation compared to the blogger-commenter relation.
If they can't be bothered (or don't blog) then fine, but there's a more limited upside to that comment and we can probably do without it. Especially since the SNR is often so low with spam, referrals, mutually beneficial (supposedly) SEO requests, etc.
> However, you won't be able to build a community with people interacting with one another.
I think that building a community and writing articles are different skill sets. Some very successful bloggers ("influencers" in modern slang) are able to do both but that's not the norm for most individuals.
Sure, it's fine when you're small and it's just a few people with similar interests. But once your audience starts to grow it can be really hard work to maintain a healthy community.
- I want to start blogging
- I don't want to blog if I won't get any feedback on what people like to read
- I don't want to admin / moderate comments because it sounds like work
- I could rely on Reddit / HN threads, but that means I don't get comment threads until I reach a critical mass of popularity. Faster Than Lime will reach the front page every time, but I won't be putting in his level of effort, so I'll get buried in a couple hours if it even gets shared.
I don't even want a community, I just want someone to say, "Hey that's kinda neat". Maybe what I need is self-hosted Medium kudos?
Spam is a large problem on any scale. Unless you use something that filter bots, the size of your blog doesn't matter much.
https://www.gov.uk/government/publications/draft-online-safe...
The short of it: You are obliged to support processes to keep people safe, protect vulnerable users, provide complaint processes... and failure to take any of this seriously can have serious financial and legal penalties.
The current draft does not differentiate between a hobby static website with comments about Raspberry Pis, and harmful content via Facebook... the penalties are equal if this is a hobby effort or if you're Facebook.
It's not a great piece of law even in draft form.
PS: @dang this might apply to HN as the definition of a site with links to the UK is merely "a significant number of UK users" without clarity on what defines significant.
A user-to-user service is exempt if the functionalities of the service are limited, such that users are able to communicate by means of the service only in the following ways—
(a) posting comments or reviews relating to content produced and published by the provider of the service (or by a person acting on behalf of the provider of the service);
(b) sharing such comments or reviews on a different internet service;
(c) expressing a view on such comments or reviews, or on content mentioned in sub-paragraph (a), by means of—
(i) applying a “like” or “dislike” button or other button of that nature,
(ii) applying an emoji or symbol of any kind,
(iii) engaging in yes/no voting, or
(iv) rating or scoring the content (or the comments or reviews) in any way (including giving star or numerical ratings)
How many places can claim that their comment section can only be used for such comments, and not for any other content? You would need to manually screen everything that was submitted to ensure it didn't stray off-topic.
https://news.ycombinator.com/from?site=darekkay.com
(I was going to say 'you do sort of', excepting that you can't stop others' submissions going there - but then I realised that's even more 'control' than Reddit gives you, since it's inherently only your site; if others submitted it it's still your content.)
It's a really competitive space... but it's been fun.
Example: https://www.brandons.me/blog/three-types-of-data
Implementation: https://github.com/brundonsmith/website/blob/master/src/load...
Back when I set it up, I couldn't find a ready-made solution that looked good enough, so I chose to roll my own (basically an email form plus a hack to extract the json comment data from the message and rebuild the site). Since I'm dealing with a low volume of feedback, I don't have an issue with moderating/approving each comment beforehand, and spam isn't a problem... but this article could sure be helpful if that ever changes.
To make public the comments, you can use a public mailing list or rebuild the commented static page upon reception of a comment (email). Of course you have to take care of security threats (HTML injection, ...)
I'm looking at redoc for the OpenAPI side of things, but would dearly love to be able to attach a static comment link to the elements to allow for questions and responses.
We have OAuth in front of it and the audience is controlled, so spam/moderation is not really relevant.
Suggestions?
Is there anyway you could put this in a github repo? Or would you give me permission to copy and paste it?
I spent an entire morning earlier this week, researching all the different options and the pros/cons of static site commenting, just with google, and discovered this post today and it's way more complete than all of my research. haha
This could be a real nice resource for people.
Great post.
I once handled such resources in separate repositories (e.g. "best practices", "accessibility notes"), but I've decided to put them under my blog instead. Less maintenance, single place for all my projects.
But it's totally fine if you want to maintain such a list yourself! If you don't copy my blog post exactly and maybe include a back link, feel free to do so. (if you do, please share a link, so I can subscribe to changes)
> I spent an entire morning earlier this week, researching all the different options and the pros/cons of static site commenting, just with google, and discovered this post today and it's way more complete than all of my research.
Thanks! I think the reason is that I wrote this post in 2018 and update it every time I find something new. I've setup HN email notifications for some related keywords (like "Disqus") to learn about new tools and add them to my post.
If I operate a static site, presumably I am using neither php nor a database ... and I wouldn't add things like that to enable comments.
But then how do the comments function ?
Are there really javascript-only comment engines that store their data ... in flat files ? I'm not sure that's possible ...