? georss_country_problem.patch
Index: georss.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/georss/georss.module,v
retrieving revision 1.2.2.2
diff -u -p -r1.2.2.2 georss.module
--- georss.module	22 Jan 2007 19:22:20 -0000	1.2.2.2
+++ georss.module	30 Jan 2007 09:23:02 -0000
@@ -102,9 +102,10 @@ function georss_nodeapi(&$node, $op, $te
           $point_coordinates = georss_extract($node->rss_item_data, 'aggregator2', 'point');
         }
         if ($point_coordinates['latitude'] && $point_coordinates['longitude']) {
-          $node->location['latitude'] = $point_coordinates['latitude'];
-          $node->location['longitude'] = $point_coordinates['longitude'];
-          $node->location['source'] = 3;  // LOCATION_LATLON_GEOCODED_EXACT from location.module
+          $node->locations[0]['latitude'] = $point_coordinates['latitude'];
+          $node->locations[0]['longitude'] = $point_coordinates['longitude'];
+          $node->locations[0]['country'] = 'xx';
+          $node->locations[0]['source'] = 3;  // LOCATION_LATLON_GEOCODED_EXACT from location.module
         }
       }
       break;
