The official coComment weblog

Twoday Integration Improved

August 29th, 2006

The popular German-speaking blog platform twoday.net has improved support for coComment. The default skins now contain <% this.coComment %>, which injects the following code in the comment page:

<script type="text/javascript">
// <![CDATA[
// adds support for CoComment
  var blogTool              = "twoday.net";
  var blogURL               = "http://newcoco.twoday.net/";
  var blogTitle             = "newcoco";
  var postURL               = "http://newcoco.twoday.net/stories/2342992/";
  var postTitle             = "Another test story";
  var commentTextFieldName  = "content_text";
  var commentButtonName     = "save";
  var commentAuthorLoggedIn = true;
  var commentAuthor = "newcoco";
  var commentFormID         = "comment-form";
// ] ]></script>

(Example taken from our test blog over there.)

This code makes sure that coComment gets the correct information when capturing a comment.

If you are a twoday user and your template was customized, you can use the diff link to see where to insert the code.

Twoday skin editing screen.
Layout > Skins (HTML) > Change templates (HTML) > Comment editor (Comment.edit)

If you want all the comments on your blog to be captured (not just those of people using the bookmarklet or the Firefox/Flock extension), you need to add the following code in your template (just before or after):

<script id="cocomment-fetchlet" src="http://www.cocomment.com/js/
enabler.js"></script>

technorati tags:, , , , , , , ,



  • About

    Welcome to the blog of the coComment team. News, stories, releases, here is all you need to know about the tool helping you track your conversations on the web!

    This blog is
    coComment
    coComment

    RSS feed

    Search this blog: