I have recently added support for coComment to my blog and it was extremely easy to do. After signing up for an account, I simply added the following code to my Add Comment Form Document template:
[script type="text/javascript"]
var blogTool = "DominoBlog";
var blogURL = "[$DXURL$]";
var blogTitle = "[$DXTitle$]";
var postURL = "[$DXURL$]dx/[$DXDocumentLink$]";
var postTitle = "[$DXSubject$]";
var commentTextFieldName = "textcomment";
var commentButtonName = "SubmitButton";
var commentAuthorLoggedIn = false;
var commentFormName = "_DominoForm";
[/script]
[script id="cocomment-fetchlet" src="http://www.cocomment.com/js/enabler.js"][/script]
Of course you need to replace the [ and ] with < and >, but that's all it took to make my site part of another Web 2.0 community.
UPDATE:After finding an issue with my own site, I have made a slight change to this method. If you are using linline comments, instead of adding the code to the Add Comment Form template, you should add it to the Document template directly after the $DXCommentForm$ tag. If not, the DXSubject and DXDocumentLink tags are not replaced correctly.
Created 7/26/2006 7:23:58 AM email | website
Sean,
That's awesome. I've had this on my list to do for a while, and even blogged about it I think.
Thanks for all the code...and watch for my site to be integrated with coComment soon! Sweet!!!
Phil
Created 7/26/2006 8:14:22 AM email | website
One thing that I forgot to mention in the instructions above is that you have to make sure to add a name attribute to the submit button on the form. Other than that, it's easy as pie.
Created 8/4/2006 8:44:20 PM email | website
what does "add a name attribute to the submit button on the form" mean?
Created 8/6/2006 10:42:23 PM email | website
When you look at the HTML for your Comment form, you will see an INPUT tag for your submit button. Inside that submit tag, put a Name="<some unique name>". I used Name="SubmitButton".
Sean---
Created 8/10/2006 1:37:26 AM email | website
well it looked like it worked, but then the submit button didn't. I'll have to look at it more another time...
Created 8/10/2006 10:53:07 AM email | website
If you send me your Add Comment form in email, I will make the necessary changes and send it back to you for inclusion on your site.
Sean---