Index: location.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/location/location.module,v
retrieving revision 1.50
diff -u -F^f -r1.50 location.module
--- location.module	13 Dec 2005 22:23:10 -0000	1.50
+++ location.module	15 Dec 2005 20:52:30 -0000
@@ -595,13 +595,11 @@ function location_nodeapi(&$node, $op, $
     case 'rss item':
       $items = array();
       if (!is_null($node->location['lat']) && !is_null($node->location['lon'])) {
-        $items[] = array('key' => 'geo:Point', 'value' => "<geo:lat>\n  ". $node->location['lat'] ."</geo:lat>\n  <geo:long>". $node->location['lon'] ."</geo:long>\n");
-        $items[] = array('key' => 'icbm:latitude', 'value' => $node->location['lat']);
+        $items[] = array('key' => 'geo:Point', 'value' => "<geo:lat>\n  ". $node->location['lat'] ."</geo:lat>\n  <geo:long>". $node->location['lon'] ."</geo:long>\n", 'namespace' => array('geo' => 'xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"'));
+        $items[] = array('key' => 'icbm:latitude', 'value' => $node->location['lat'], 'namespace' => array('icbm' => 'xmlns:icbm="http://postneo.com/icbm"'));
         $items[] = array('key' => 'icbm:longitude', 'value' => $node->location['lon']);
-        $items[] = array('key' => 'geourl:latitude', 'value' => $node->location['lat']);
+        $items[] = array('key' => 'geourl:latitude', 'value' => $node->location['lat'], 'namespace' => array('geourl' => 'xmlns:geourl="http://geourl.org/rss/module/"'));
         $items[] = array('key' => 'geourl:longitude', 'value' => $node->location['lon']);
-        $items[] = array('key' => 'latitude', 'value' => $node->location['lat']);
-        $items[] = array('key' => 'longitude', 'value' => $node->location['lon']);
       }
       return $items;
       break;
