From b8b4b0dec95fcb13c1e358f1f9a831e2b98d91bc Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Mon, 20 Sep 2010 18:31:45 +0000
Subject: [PATCH] Body is a field now.

---
 plugins/FeedsNodeProcessor.inc | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/plugins/FeedsNodeProcessor.inc b/plugins/FeedsNodeProcessor.inc
index ffec337a..6a813ae6 100644
--- a/plugins/FeedsNodeProcessor.inc
+++ b/plugins/FeedsNodeProcessor.inc
@@ -246,10 +246,6 @@ class FeedsNodeProcessor extends FeedsProcessor {
     if (in_array($target_element, array('url', 'guid'))) {
       $target_node->feeds_node_item->$target_element = $value;
     }
-    elseif ($target_element == 'body') {
-      $target_node->teaser = node_teaser($value);
-      $target_node->body = $value;
-    }
     elseif (in_array($target_element, array('title', 'status', 'created', 'nid', 'uid'))) {
       $target_node->$target_element = $value;
     }
@@ -267,11 +263,6 @@ class FeedsNodeProcessor extends FeedsProcessor {
      );
     // Include body field only if available.
     $type = node_type_get_type($this->config['content_type']);
-    // Using 'teaser' instead of 'body' forces entire content above the break.
-    $targets['body'] = array(
-      'name' => t('Body'),
-      'description' => t('The body of the node. The teaser will be the same as the entire body.'),
-    );
     $targets += array(
       'nid' => array(
         'name' => t('Node ID'),
-- 
GitLab