Index: feedapi_inherit/feedapi_inherit.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feedapi/feedapi_inherit/Attic/feedapi_inherit.module,v
retrieving revision 1.1.2.14.2.3
diff -u -p -r1.1.2.14.2.3 feedapi_inherit.module
--- feedapi_inherit/feedapi_inherit.module	22 Aug 2008 16:26:54 -0000	1.1.2.14.2.3
+++ feedapi_inherit/feedapi_inherit.module	11 Feb 2009 16:59:43 -0000
@@ -18,9 +18,9 @@
 function feedapi_inherit_help($section) {
   switch ($section) {
     case 'admin/help#feedapi_inherit':
-      return t('FeedAPI Inherit - pass on taxonomy and organic group information from feed to feed items.');
+      return t('FeedAPI Inherit - pass on taxonomy, author and organic group information from feed to feed items.');
     case 'feedapi/full_name':
-      return t('FeedAPI Inherit - pass on taxonomy and organic group information from feed to feed items.');
+      return t('FeedAPI Inherit - pass on taxonomy, author and organic group information from feed to feed items.');
   }
 }
 
@@ -69,13 +69,18 @@ function feedapi_inherit_feedapi_setting
       if (module_exists('og')) {
         $form['inherit_og'] = array(
           '#type' => 'checkbox',
-          '#title' => t('Feed nodes inherit organic group settings from parent feed.'),
+          '#title' => t('Feed item nodes inherit organic group settings from parent feed.'),
           '#default_value' => TRUE,
         );
       }
       $form['inherit_taxonomy'] = array(
         '#type' => 'checkbox',
-        '#title' => t('Feed nodes inherit taxonomy settings from parent feed.'),
+        '#title' => t('Feed item nodes inherit taxonomy settings from parent feed.'),
+        '#default_value' => TRUE,
+      );
+      $form['inherit_author'] = array(
+        '#type' => 'checkbox',
+        '#title' => t('Feed item nodes will be authored by the same user as the parent feed.'),
         '#default_value' => TRUE,
       );
       break;
@@ -93,6 +98,11 @@ function _feedapi_inherit_do_inherit(&$i
   if ($feed_node->feed->settings['processors']['feedapi_inherit']) {
     $inherit_taxonomy = $feed_node->feed->settings['processors']['feedapi_inherit']['inherit_taxonomy'];
     $inherit_og = $feed_node->feed->settings['processors']['feedapi_inherit']['inherit_og'];
+    $inherit_author = $feed_node->feed->settings['processors']['feedapi_inherit']['inherit_author'];
+  }
+  // Pass on author data
+  if ($inherit_author) {
+    $item_node->uid = $feed_node->uid;
   }
 
   // Pass on taxonomy data
