Index: plugins/FeedsProcessor.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feeds/plugins/FeedsProcessor.inc,v
retrieving revision 1.20.2.11
diff -u -p -r1.20.2.11 FeedsProcessor.inc
--- plugins/FeedsProcessor.inc	22 Dec 2010 01:46:46 -0000	1.20.2.11
+++ plugins/FeedsProcessor.inc	30 Dec 2010 05:29:53 -0000
@@ -477,7 +477,7 @@ abstract class FeedsProcessor extends Fe
    *   FALSE otherwise.
    */
   public function getMappingTargets() {
-    return array(
+    $targets = array(
       'url' => array(
         'name' => t('URL'),
         'description' => t('The external URL of the item. E. g. the feed item URL in the case of a syndication feed. May be unique.'),
@@ -489,6 +489,16 @@ abstract class FeedsProcessor extends Fe
         'optional_unique' => TRUE,
       ),
     );
+
+    // If path.module is enabled expose the path alias.
+    if (module_exists('path')) {
+      $targets['path_alias'] = array(
+        'name' => t('Path alias'),
+        'description' => t('The URL path alias.'),
+      );
+    }
+
+    return $targets;
   }
 
   /**
@@ -502,6 +512,9 @@ abstract class FeedsProcessor extends Fe
       case 'guid':
         $target_item->feeds_item->$target_element = $value;
         break;
+      case 'path_alias':
+        $target_item->path['alias'] = $value;
+        break;
       default:
         $target_item->$target_element = $value;
         break;
