diff -upN mappers/nodereference.inc
--- mappers/nodereference.inc	1969-12-31 19:00:00.000000000 -0500
+++ mappers/nodereference.inc	2010-09-30 14:25:23.000000000 -0400
@@ -0,0 +1,66 @@
+<?php
+// $Id$
+
+/**
+ * @file
+ * Implementation of Feeds mapping API for nodereference.module (CCK).
+ */
+
+/**
+ * Implementation of hook_feeds_node_processor_targets_alter().
+ *
+ * @see FeedsNodeProcessor::getMappingTargets()
+ */
+function nodereference_feeds_node_processor_targets_alter(&$targets, $content_type) {
+  $info = content_types($content_type);
+  $fields = array();
+  if (isset($info['fields']) && count($info['fields'])) {
+    foreach ($info['fields'] as $field_name => $field) {
+      if (in_array($field['type'], array('nodereference'))) {
+        $fields[$field_name] = isset($field['widget']['label']) ? $field['widget']['label'] : $field_name;
+      }
+    }
+  }
+  foreach ($fields as $k => $name) {
+    $targets[$k] = array(
+      'name' => $name,
+      'callback' => 'nodereference_feeds_set_target',
+      'description' => t('The CCK Node Reference !name of the node.', array('!name' => $name)),
+    );
+  }
+}
+
+/**
+ * Implementation of hook_feeds_set_target().
+ *
+ * The actual field mapping happens in this callback function.
+ *
+ * @param obj $target_node
+ *   The node to to be created or updated.
+ * @param str $target_element
+ *   The name of the field on the node to be mapped.
+ * @param array $value
+ *   The value(s) of the source feed item element to be mapped.
+ */
+function nodereference_feeds_set_target(&$target_node, $target_element, $value) {
+  // Load field definition.
+  $field_info = content_fields($target_element, $target_node->type);
+
+  // Reset the field values on the node.
+  $target_node->{$target_element} = array();
+
+  // Allow for multiple-value fields.
+  if (!is_array($value)) {
+    $value = array($value);
+  }
+
+  // Validate, lookup, and store each value in the field.
+  foreach ($value as $k => $v) {
+    if (!is_array($v) && !is_object($v) && $v !== '') {
+      // Fetch list of potential exact matches for the value (limit to one result).
+      $matches = _nodereference_potential_references($field_info, $v, 'equals', array(), 1);
+      // Use the first element of the potential matches.
+      $target_node->{$target_element}[$k] = array('nid' => key($matches));
+    }
+  }
+}
