Quick Embed Code to Add Comments To Any Site
Nick Gonzalez
93 comments »
It may not be a multi-million dollar venture-backed startup, but Lev Walkin has an elegant solution to a common feature of the social web, commenting. JS-Kit is an entirely free little javascript embed that allows you to add threaded comments to any web page in one line:
"<script src="http://js-kit.com/comments.js"></script>"
JS-Kit works by running Lev’s javascript code, which along with the website’s referral, fetches the appropriate comment data from his server. The comments are fully customizable by CSS and multiple comment instances can be displayed on the same referring URL by changing the “path” attribute of the comment. That way you could have a photo page with unique comment threads for each picture. However, while JS-Kit allows for a lot of customization, it still lacks some of the more advanced administrative features of fully integrated comments, such as those of our Wordpress blog.
Lev Walkin is a Cisco Security Engineer out of Santa Clara, and originally came up with the idea as a way to help he wife, a web designer, easily add comments to her sites.
Feel free to test the script after the jump…
Note: JS-Kit will forward comments from your thread to your email if you provide it.





I like that you dont even have to register, it does everything automatically by referal data. Nice idea
hmmm……this makes a
Great Idea
for an Instant, Embedable GuestBook -
really good..
And this is different from HaloScan how?
No account needed. Just one line of code. It takes care of the rest. I’d say that’s pretty damn different.
I’m starting to read between the lines here….There is a lot of Nepotism and In Group bias going on at techcrunch…you scratch my back, and I’ll scratch yours type off stuff
techcrunch is getting less and less objective all the time and is starting to become real superficial in their reviews
check this statement in an earlier post today about yahoo answers “but isn’t it possible that community asking services such as these will become extinct as people learn to better navigate the Web themselves?”
I just think techcrunch has the power to make or break a site, and should therefore start exercising a bit more objectivity in their reviews, and a little less back scratching of mates and friends
mkay
This is incredibly cool!
I see only one major downside. If his site goes down / is slow / whatever, then your site is also slow. If the JavaScript include lags, your page could take a long time to load. This is a problem with all JavaScript include-esque services though, and so far this one seems very fast. Nice job!
This one was designed to load the static script (no server taxing), then this script would pull in the comments asynchronously. No database lags will ever affect your site drastically.
This is very nice Lev. Congratulations.
Beautiful , really beautiful idea and service , i wish he gets funding so the services becomes reliable and scalable.
By the way , after playing with it a pit , i found its missing some basic features :
1- Comments moderation
2- Comments SPAM filter
3- Distinguished admin comments (Like techcrunch green comments:) )
4- Commenter site (link the site to the name)
5- Option to show total number of comments on top , or under the post summary.
This is what came to my mind.
1. Comments moderation is there. Just create your own website and try it out. It’ll treat you as boss and you’ll have more features than the visitors.
2. SPAM filter is under way.
4. Is really related to #2.
3. Need to think about it. Easy to do.
5. Good idea, thank you!
I am still developing bits and pieces, so feel free to email your suggestions directly to me.
And what happens if and when this site goes OOB? You loose all your comments
What happens if Google goes OOB? You loose all your email, which is a bit worse.
Comments is not content, it has a bit lower expectation of availability.
Nice script, Lev!
I think you should release the script under open source licence while continuing seving script from you site. Sooner or later
someone will come up similar open source script. Now you have firstcomer advantage an all the buzz is yours. Exploit this attention to become another WordPress of comments.
The script is already open source.
What are the options for the webmaster Lev? I tried it at one of my German pages http://web4health.info/de/answ.....m-adhd.htm and I really would like to have it at more pages to allow a very very easy kind of discussion / comment.
I really like the idea !!!!!
Martin
Just add it to every web page of your site. It’ll just work.
Congratz I love this idea. Just shows you don’t needs a large amount of money to implement a good idea.
Super Idea! Great stuff. You’ve been added to the web2.0jump.in index!
Hey Lev!
Awesome idea! How do I delete inappropriate comments / spam from the list on my site?
Lev, I really really dig this. I just wanted to comment on something you said though:
“Comments is not content, it has a bit lower expectation of availability.”
Comments are most definitely content. There are many times where the thread of comments on a post or a website or a picture that are 10 times more interesting than the original posted content itself. And even if it’s not as interesting, it’s an important compliment and also validation.
Again, great work on this, can’t wait to see it grow!
Jason, you can delete inappropriate comments by just clicking the “remove” link. You’ll have this link for every message, since you’re the webmaster of your own site (the system knows this).
Hi Lev,
I’m curious…_HOW_ does the system know who the webmaster is? Is it by IP or is there some special login for the webmaster? I’m just curious because I worry that someone else could be mistaken for webmaster if your code is a little “too clever”
Lev - “Comments is not content, it has a bit lower expectation of availability” - I disagree completely. Many, many TechCrunch readers have told me they have no interest in what we write, and they come to the blog only for the discussion in the comments.
I don’t think I would use this for ‘mainstream’ commenting on a site but this is superb for allowing designers/clients to share their thoughts on a website or app in production.
Why why why - when just about every content management system has a commenting system built-in?
Also - your comments are dependent on a third party and they won’t get indexed by search engines.
Ease of implementation isn’t worth reduced search engine visibility, more spam comments and the risk of relying on a third party.
I think the OpenID argument works here rather well. Not everything needs a fully indexed, search engine visible, super powered comment engine. Sometimes all you needs is a quick threaded comment system. This enables that. You know the code is open source, you can always download it, modify it to your needs and deploy it from your own server. Think long tail here. Imagine all of the static web pages out there that are not designed by web programers but could benefit from a simple threaded discussion system.
cool
omg wtf cool saucE>!>>!>?!?!?
Cool.
“No account needed. Just one line of code. It takes care of the rest. I’d say that’s pretty damn different.”
Haloscan.com requires a 20 second registration. Oh my goodness. You spent more time typing out that comment than it would take to register at Haloscan.
Haloscan uses two lines of code and you can have an unlimited amount of separate comment pages in one page.
And Haloscan has a ton more features and has a full-featured admin section–edit/delete comments, ban visitors, comment moderation, trackback support, (extremely good) spam filters. And haloscan has been around for years unlike this startup and I’d trust them with my comments than this amateur looking thing.
PrettyDamn Sweet, love when someone pays for the hosting of free JavaScript.
Just checking this out. Seems pretty cool.
JonD,
Haloscan is easier in some ways and a bit more complicated in others.
It has tons of features. Js-Kit has a nice mascot.
But that’s besides the point.
Are you jealous, or what? Why there can’t be TWO systems, with one of them younger than the other? I don’t understand your position.
When google started, there was already Yahoo and Altavista around, established pretty deeply. I am not trying to compare the substance, only reminding you that diversity is good.
Lev Walkin: I wasn’t trying to insult you and am definitely not jealous but was simply pointing out some facts to “Tom” since “Media Blog” asked how its different from Haloscan (comment #4) and “Tom” (comment #5) replied that:
“No account needed. Just one line of code. It takes care of the rest. I’d say that’s pretty damn different.”
My comment above simply addressed those points by Tom and I agree diversity is good. I just don’t see how the js-kit site warranted any attention from Techcrunch considering it doesn’t bring anything new to the table.
Understood.
By the way, what did Google bring to the table? Besides a bit greater relevance to the user’s needs?
Michael,
Regarding [“Comments is not content, it has a bit lower expectation of availability” - I disagree completely. Many, many TechCrunch readers have told me they have no interest in what we write, and they come to the blog only for the discussion in the comments.].
The comments might be something that attracts the users, but it is not the particular comment that does it. It is the possibility to share thoughts.
In this respect, there is no much difference between some comments and some other comments. Provided the large enough user base, the comments will be generated if they don’t exist, and will be re-generated if they are lost somewhere due to a technical glitch, or temporarily unavailable because of network problems.
That is why I think of them as having “a bit lower expectation of availability”. That is, given the hard choice, what would you rather offload to a third-party JavaScript based service: the display of articles or the commenting engine?
I think latter is a bit more acceptable candidate for that.
Wow
http://www.hoaxmail.co.uk - anonymous email and sms.
What is it they put in bleach that makes it taste so funny?
Nice, but it is a security risk. You need to be sure that the domain you are adding the script from is trusted. Otherwise you open your site up for Cross Site Scripting (XSS). By imbedding this code, the trusted domain could manipulate any page which has it embedded. With that said, it is a great way to add third party services to a site - like AdSense.
This is a pretty nifty idea. I think it might just catch on.
HMMMM how it works?
Dev, have you figured out how to solve the problem of Google not being able to index the DHTML generate comments? An important part of people’s site is comments and want google to be able to index them, so I’d think that this is a big issue.
GIVE ME A DOLLAR
cool
I think, it may be interesting for sites on free hosting without PHP.
Good post.
Hmmmmm, Lev, I used this script on my website, but it does not recognize me as webmaster and I cant remove comments.
Possible solutions?
Thanks
We’ve had this feature in Jive Forums for quite some time: http://www.jivesoftware.com — we call it “community everywhere”. Definitely a nice way to add messaging capabilities in a simple way.
schalom!
Why is this thing free? How much do you pay for the hosting and how do you plan to monetize this?
I just grabbed a copy of the JS and put it up on my own server, everything still works just fine. I don’t like the idea of fetching a script off someone’s remote server with every page load.
Cool Lot people helping….What about JSPST
there is a problem with utilizing WEP with JSPST anybody have any idea
just cheking!!!
this is kool
i used this comment code on my site and it works good, thanks js-kit! more power!
nice, but how is this used?
j.d.s.
http://www.burzs.com/edit/arg.php?id=14118
Good news, thanks
test
I’m going to try it… sounds like a good idea, but a bit worried about the spam angle…
Ok, now What do I do?
Seems really kewl. Good job mate.
Interesting. This is what I need, I think
Thank you for making my journey through the interwebs to look for this stupid code so much shorter. :3
very nice
so good
so cool!!!!!!!!!!!!!
Lev, I’m curious as well. HOW does the system know the webmaster? Like Tom said, is it the IP? Please answer. Please.
Wow!
I wanna try it immediatly! =)