Index: README.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cocomment/README.txt,v
retrieving revision 1.2
diff -u -r1.2 README.txt
--- README.txt	19 Sep 2006 23:51:04 -0000	1.2
+++ README.txt	16 Dec 2007 23:55:53 -0000
@@ -1,13 +1,10 @@
-cocomment.module
-README.txt
-
 $Id: README.txt,v 1.2 2006/09/19 23:51:04 olav Exp $
 
 Description
 ------------
 
 The cocomment module extends comment forms to incorporate the JavaScript 
-for cocomment integration (cf. http://www.cocomment.com/integrate)
+for cocomment integration (cf. http://www.cocomment.com/tools/integrate)
 
 Configuration
 -------------
Index: cocomment.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cocomment/cocomment.module,v
retrieving revision 1.3
diff -u -r1.3 cocomment.module
--- cocomment.module	19 Sep 2006 23:55:38 -0000	1.3
+++ cocomment.module	16 Dec 2007 23:55:53 -0000
@@ -1,20 +1,16 @@
 <?php
 // $Id: cocomment.module,v 1.3 2006/09/19 23:55:38 olav Exp $
+
 /**
- * Module hooks
+ * CoComment integration
+ * http://www.cocomment.com
+ * 
+ * Developed by Olaf Schettler
+ * Updated to Drupal 5 by Stefan Auditor <stefan.auditor@erdfisch.de> 
  */
 
-function cocomment_help($section='') {
-  switch ($section) {
-    case 'admin/help#cocomment':
-
-    case 'admin/modules#description':
-      return t('Post comments to the coComment website.');
-  }
-}
-
 /*
- * Callbacks
+ * Implementation of hook_comment().
  */
 function cocomment_comment($form, $op) {
   global $base_url, $user;
@@ -23,22 +19,22 @@
   if ($op == 'form') {
 
     $site_title = variable_get('site_name', $_SERVER['HTTP_HOST']);
-
+    
     $nid = $form['nid']['#value'];
     $node = node_load($nid);
-
+    
     $node_title = addslashes($node->title);
 
     $item['submit'] = $form['submit'];
     $item['submit']['#attributes'] = array('id' => 'op_submit');
-
+    
     $item['#prefix'] = <<<EOS
 <script type="text/javascript">
 var coco = {
-  tool              : 'Drupal',
+  tool              : 'Drupal (+http://drupal.org/)',
   siteurl           : '{$base_url}',
   sitetitle         : '{$site_title}',
-  pageurl           : '{$base_url}{$form['#action']}',
+  pageurl           : '{$base_url}/?q=node/{$node->nid}',
   pagetitle         : '{$node_title}',
 
 EOS;
Index: cocomment.info
===================================================================
RCS file: cocomment.info
diff -N cocomment.info
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ cocomment.info	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,4 @@
+; $Id$
+name = CoComment
+description = Extends comment forms for CoComment integration.
+dependencies = comment
