? location_georss.patch
Index: location.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/location/location.module,v
retrieving revision 1.79
diff -u -p -r1.79 location.module
--- location.module	20 Jan 2007 01:58:15 -0000	1.79
+++ location.module	22 Jan 2007 20:07:26 -0000
@@ -1019,16 +1019,12 @@ function location_nodeapi(&$node, $op, $
       if (is_array($node->locations)) {
         foreach ($node->locations as $index => $location) {
           if (!is_null($node->locations[$index]['lat']) && !is_null($node->locations[$index]['lon'])) {
-            //$items[] = array('key' => 'geo:Point', 'value' => "<geo:lat>\n  ". $node->locations[$index]['lat'] ."</geo:lat>\n  <geo:long>". $node->locations[$index]['lon'] ."</geo:long>\n", 'namespace' => array('geo' => 'xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"'));
-            
             $items[] = array('key' => 'geo:Point',
                              'namespace' => array('geo' => 'xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"'),
                              'value' => array(array('key' => 'geo:lat', 'value' => $node->locations[$index]['lat']), 
-                                              array('key' => 'geo:lon', 'value' => $node->locations[$index]['lon'])
+                                              array('key' => 'geo:long', 'value' => $node->locations[$index]['lon'])
                                         )
                        );
-            //$items[] = array('key' => 'geourl:latitude', 'value' => $node->locations[$index]['lat'], 'namespace' => array('geourl' => 'xmlns:geourl="http://geourl.org/rss/module/"'));
-            //$items[] = array('key' => 'geourl:longitude', 'value' => $node->locations[$index]['lon']);
           }
         }
       }
@@ -1536,4 +1532,4 @@ function location_invoke_locationapi(&$l
     }
   }
   return $return;
-}
\ No newline at end of file
+}
