$field_name[0]['value']. if (!is_array($feed_element)) { $cckfield = content_fields($field_name); // We are checking for nodes that exactly match the string mapped to $feed_element. We // could have checked to see if it was numeric first and do something else $nids = _nodereference_potential_references($cckfield, FALSE, $feed_element, TRUE); $field[0]['nid'] = (!empty($nids)) ? array_shift(array_keys($nids)) : 0; $node->$field_name = $field; return $node; } } } }