diff NULL plugin/attached_node.inc 
0a1,78
+ <?php
+ 
+ /**
+  * @file
+  * Rewrite a field using tokens.
+  */
+ 
+ $plugin = array(
+   'form'     => 'feeds_tamper_attached_node_form',
+   'callback' => 'feeds_tamper_attached_node_callback',
+   'name'     => 'Attached node information',
+   'multi'    => 'skip',
+   'category' => 'Attached node',
+ );
+ 
+ function feeds_tamper_attached_node_form($importer, $element_key, $settings) {
+   $form = array();
+ 
+   $importer_config = $importer->getConfig();
+   $bundle = $importer_config['content_type'];
+   if (!isset($bundle) || ($bundle == '')) {
+     $form['no_attached_node'] = array(
+       '#markup' => t('The feed importer is not attached to a content type.'),
+     );
+     return $form;
+   }
+   $entity_type = 'node';
+   $instances = field_info_instances($entity_type, $bundle);
+   $replace = array();
+   foreach ($instances as $key => $instance) {
+     $replace[] = '[' . drupal_strtolower('node:' . $key) . ']';
+   }
+ 
+   $form['text'] = array(
+     '#type' => 'textarea',
+     '#title' => t('Replacement pattern'),
+     '#default_value' => isset($settings['text']) ? $settings['text'] : '',
+   );
+   $form['help'] = array(
+     '#type' => 'fieldset',
+     '#title' => t('Available Replacement Patterns'),
+     '#collapsed' => FALSE,
+     '#collapsible' => FALSE,
+     '#value' => theme('item_list', array('items' => $replace)),
+   );
+   return $form;
+ }
+ 
+ function feeds_tamper_attached_node_callback($result, $item_key, $element_key, &$field, $settings, $source) {
+   if (!isset($settings['text']) || ($settings['text'] == '') || !isset($source->feed_nid)) {
+     return;
+   }
+   $trans = array();
+   $item = _feeds_tamper_attached_node_load($source->feed_nid);
+   foreach ($item as $key => $value) {
+     $trans['[' . $key . ']'] = $value;
+   }
+   $field = strtr($settings['text'], $trans);
+ }
+ 
+ function _feeds_tamper_attached_node_load($nid) {
+   static $feed_node;
+ 
+   if (empty($feed_node)) {
+     $node = node_load($nid);
+     $entity_type = 'node';
+     $instances = field_info_instances($entity_type, $node->type);
+     foreach ($instances as $key => $instance) {
+       $feed_node['node:' . $key] = drupal_render_children(field_view_field($entity_type, $node, $key, array('label' => 'hidden')));
+     }
+   }
+   return $feed_node;
+ }