Index: georss.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/georss/georss.module,v
retrieving revision 1.9.2.2
diff -u -p -r1.9.2.2 georss.module
--- georss.module	23 Jun 2009 19:57:06 -0000	1.9.2.2
+++ georss.module	6 Jul 2009 08:30:08 -0000
@@ -1,8 +1,13 @@
 <?php
-// $Id:
+// $Id$
 
 /**
- * Implementation of hook_menu
+ * @file
+ * GeoRSS module to add geo data from CCK fields to the RSS feed
+ */
+
+/**
+ * Implementation of hook_menu().
  */
 function georss_menu() {
   $items = array();
@@ -18,7 +23,7 @@ function georss_menu() {
 }
 
 /**
- * Implementation of hook_theme
+ * Implementation of hook_theme().
  */
 function georss_theme() {
   return array(
@@ -30,7 +35,7 @@ function georss_theme() {
  * GeoRSS settings form
  */
 function georss_settings_form(&$form_state) {
-  $settings = variable_get('georss_forms','');
+  $settings = variable_get('georss_forms', '');
   $fields = content_fields();
   $options = array();
   foreach ($fields as $field) {
@@ -65,22 +70,22 @@ function georss_settings_form(&$form_sta
 }
 
 /**
- * Implementation of hook_nodeapi
+ * Implementation of hook_nodeapi().
  */
 function georss_nodeapi($node, $op) {
   switch ($op) {
     case 'rss item':
       $items = array();
-      $georss_settings = variable_get('georss_forms','');
+      $georss_settings = variable_get('georss_forms', '');
       $lon = $node->$georss_settings['field_lon'];
       $lat = $node->$georss_settings['field_lat'];
       if (!is_null($node->$georss_settings['field_lon']) && !is_null($node->$georss_settings['field_lat'])) {
         $items[] = theme_georss_point($lat['0']['value'], $lon['0']['value'], $georss_settings['format']);
       }
-      
+
       unset($node->content[$georss_settings['field_lon']]);
       unset($node->content[$georss_settings['field_lat']]);
-            
+
       return $items;
     break;
   }
@@ -95,14 +100,14 @@ function theme_georss_point($lat, $lon, 
     case 'gml':
       $output['key'] = 'georss:where';
       $output['namespace'] = array(
-      	'xmlns:georss' => 'http://www.georss.org/georss',
-      	'xmlns:gml' => 'http://www.opengis.net/gml'
-      	);
+        'xmlns:georss' => 'http://www.georss.org/georss',
+        'xmlns:gml' => 'http://www.opengis.net/gml'
+      );
       $output['value'] = array(
         'gml:Point' => array(
-          'gml:pos' =>"$lat $lon"
+          'gml:pos' => "$lat $lon"
         ),
-      );    
+      );
       break;
     case 'simple':
       $output['key'] = 'georss:point';
