November 29, 2006

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.

  • Sphere It

Trackbacks/Pings (Trackback URL)

  1. TechCrunch Japanese アーカイブ » どんなサイトにもエンベッドで簡単にコメント欄を作成できるコード
  2. IndianBytes.com
  3. Web2.Office» Blog Archive » JS-Kit,在任何网站上添加评论
  4. Quick Embed Code to Add Comments To Any Site at fresh + new
  5. интернетные штучки » Ульяновский парень на Техкранче
  6. Freakitude Technology Blog » Blog Archive » Interesting Links - November 30, 2006
  7. links for 2006-11-30 « Clint’s blog
  8. Kommentare in statischen Seiten einbinden - mit eine Zeile Code. | agenturblog.de
  9. Quick Add Comments to any Web Site / Pages » Dee’s-Planet! Blog
  10. DashNote Weblog » Blog Archive » Limitations of sequential conversations
  11. Search and Find » Open Question: What is “a jump” in blogging? I’ve read alot of blogs that say “after the jump” or “more after the jump” etc.?
  12. links for 2006-12-04 at Webmercial.dk
  13. ::lemonup::News, Technology, sports, cars, movie, video, blog, travel, mp3, picture, computer, notebook » JS-Kit: Web 2.0 For Lazy People
  14. Insurance
  15. From Garage to Cubicle: JS-Kit Closes $1.2 Million Seed Round | Tekjuice.com
  16. Интервью со Львом Валкиным — MacRadar
  17. HaloScan Partners with JS-Kit to Distribute Ratings Widget: tech product reviews, tech news, daily videos, free downloads, and podcasts, tech, products, computer, mp3 players, cell phones, digital cameras
  18. The Codebelay Blog » Blog Archive » Stealing Your Js-kit Ratings for Fun and Profit with Ajax
  19. free music ringtones for cingular phone

Comments

RSS feed for comments on this post.

  1. Sean

    I like that you dont even have to register, it does everything automatically by referal data. Nice idea :)

  2. SearcH EngineS WeB

    hmmm……this makes a :-D Great Idea :-D for an Instant, Embedable GuestBook -

  3. Paraag

    really good..

  4. Media Blog

    And this is different from HaloScan how?

  5. Tom

    No account needed. Just one line of code. It takes care of the rest. I’d say that’s pretty damn different.

  6. jimmy

    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

  7. Peter Cooper

    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!

  8. Lev Walkin

    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.

  9. Laurent

    This is very nice Lev. Congratulations.

  10. Faisal

    Beautiful , really beautiful idea and service , i wish he gets funding so the services becomes reliable and scalable.

  11. Faisal

    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.

  12. Lev Walkin

    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.

  13. People Finder

    And what happens if and when this site goes OOB? You loose all your comments

  14. Lev Walkin

    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.

  15. Daniel

    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.

  16. Lev Walkin

    The script is already open source.

  17. Martin Winkler

    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

  18. Lev Walkin

    Just add it to every web page of your site. It’ll just work.

  19. Darren

    Congratz I love this idea. Just shows you don’t needs a large amount of money to implement a good idea.

  20. Web2.0jump.in

    Super Idea! Great stuff. You’ve been added to the web2.0jump.in index!

  21. Jason McMinn

    Hey Lev!

    Awesome idea! How do I delete inappropriate comments / spam from the list on my site?

  22. Drew Olanoff

    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!

  23. Lev Walkin

    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).

  24. Tommy

    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” :)

  25. Michael Arrington

    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. :-)

  26. Elliot

    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.

  27. garyL

    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.

  28. Jason Sperske

    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.

  29. rr

  30. rr

    cool

  31. zac

    omg wtf cool saucE>!>>!>?!?!?

  32. tester

    Cool.

  33. JonD

    “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.

  34. Madd

    PrettyDamn Sweet, love when someone pays for the hosting of free JavaScript.

  35. HoiPolloi

    Just checking this out. Seems pretty cool.

  36. Lev Walkin

    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.

  37. JonD

    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.

  38. Lev Walkin

    Understood.

    By the way, what did Google bring to the table? Besides a bit greater relevance to the user’s needs?

  39. Does it work

  40. Lev Walkin

    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.

  41. Me

    Wow

  42. hoaxMail

    http://www.hoaxmail.co.uk - anonymous email and sms.

  43. Fnarf

    What is it they put in bleach that makes it taste so funny?

  44. NICCAI

    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.

  45. David Mackey

    This is a pretty nifty idea. I think it might just catch on.

  46. 0000la

    HMMMM how it works?

  47. Alex

    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.

  48. Ham

    GIVE ME A DOLLAR

  49. jared

    cool

  50. slava

    I think, it may be interesting for sites on free hosting without PHP.

  51. Master

    Good post.

  52. Colm

    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

  53. Matt Tucker

    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.

  54. Testyah

    schalom!

  55. K12

    Why is this thing free? How much do you pay for the hosting and how do you plan to monetize this?

  56. xxdesmus

    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.

  57. Hammad

    Cool Lot people helping….What about JSPST

  58. Hammad

    there is a problem with utilizing WEP with JSPST anybody have any idea

  59. alain

    just cheking!!!

  60. sboj

    this is kool

  61. femikey

    i used this comment code on my site and it works good, thanks js-kit! more power!

  62. Kevin

    nice, but how is this used?

  63. adf

    j.d.s.
    http://www.burzs.com/edit/arg.php?id=14118

  64. Aşk

    Good news, thanks

  65. dj

    test

  66. Annelisa

    I’m going to try it… sounds like a good idea, but a bit worried about the spam angle…

  67. Animose

    Ok, now What do I do?
    Seems really kewl. Good job mate.

  68. Ed Traxler

    Interesting. This is what I need, I think

  69. Fated Shadow Muse

    Thank you for making my journey through the interwebs to look for this stupid code so much shorter. :3

  70. stress

    very nice

  71. ansia

    so good

  72. depressione

    so cool!!!!!!!!!!!!!

  73. Christine

    Lev, I’m curious as well. HOW does the system know the webmaster? Like Tom said, is it the IP? Please answer. Please.

  74. Dmitry

    Wow!
    I wanna try it immediatly! =)