Index: plugins/FeedsNodeProcessor.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feeds/plugins/FeedsNodeProcessor.inc,v
retrieving revision 1.28
diff -u -p -r1.28 FeedsNodeProcessor.inc
--- plugins/FeedsNodeProcessor.inc	28 Apr 2010 16:30:05 -0000	1.28
+++ plugins/FeedsNodeProcessor.inc	28 Apr 2010 19:08:59 -0000
@@ -50,6 +50,7 @@ class FeedsNodeProcessor extends FeedsPr
         // Populate and prepare node object.
         $node->type = $this->config['content_type'];
         $node->created = FEEDS_REQUEST_TIME;
+        $node->format = $this->config['input_format'];
         $node->feeds_node_item = new stdClass();
         $node->feeds_node_item->hash = $hash;
         $node->feeds_node_item->id = $this->id;
@@ -163,6 +164,7 @@ class FeedsNodeProcessor extends FeedsPr
     $type = isset($types['story']) ? 'story' : key($types);
     return array(
       'content_type' => $type,
+      'input_format' => FILTER_FORMAT_DEFAULT,
       'update_existing' => 0,
       'expire' => FEEDS_EXPIRE_NEVER,
       'mappings' => array(),
@@ -182,6 +184,18 @@ class FeedsNodeProcessor extends FeedsPr
       '#options' => $types,
       '#default_value' => $this->config['content_type'],
     );
+    $format_options = array(FILTER_FORMAT_DEFAULT => t('Default format'));
+    $formats = filter_formats();
+      foreach ($formats as $format) {
+        $format_options[$format->format] = $format->name;
+      }
+    $form['input_format'] = array(
+      '#type' => 'select',
+      '#title' => t('Input format'),
+      '#description' => t('Choose input format to be used for feed item nodes created by this feed.'),
+      '#options' => $format_options,
+      '#default_value' => $this->config['input_format'],
+    );
     $form['update_existing'] = array(
       '#type' => 'checkbox',
       '#title' => t('Update existing items'),
