Only in opencalais: .DS_Store
diff -up opencalais_old/calais.admin.inc opencalais/calais.admin.inc
--- opencalais_old/calais.admin.inc	2010-06-15 19:53:34.000000000 -0600
+++ opencalais/calais.admin.inc	2010-07-08 11:27:31.000000000 -0600
@@ -167,7 +167,7 @@ function _calais_build_semanticproxy_con
   $spfields = array('' => "Don't process with SemanticProxy");
   $docfields = array('' => "Don't store document text");
 
-  // If this content type is configured as a feed item
+  // If this content type is a FeedAPI feed item
   if(module_exists('feedapi_node')) {
     $feed_types = feedapi_get_types();
     foreach($feed_types as $type => $name) {
@@ -177,7 +177,23 @@ function _calais_build_semanticproxy_con
       }
     }
   }
-
+  
+  // If this content type is a Feeds feed item
+  // @TODO Find a way to get required info without loading every Feed Importer
+  if (module_exists('feeds')) {
+    $feed_item_types = array();
+    // Get all of the Feed Importers
+    $feeds = feeds_importer_load_all();
+    foreach ($feeds as $feed) {
+      // Get the content types used as Feed Items within Feeds Processors
+      $feed_item_types[] = $feed->processor->config['content_type'];
+      // Check to see if the current content type is used as a feed item in an Importer
+      if (in_array($node_type->type, $feed_item_types)) {
+         $spfields['calais_feeds_node'] = t('Feed Item Original URL');      
+      }
+    }
+  }
+     
   if(module_exists('content')) {
     $content_type = content_types($node_type->type);
     $type_url_str = $content_type['url_str'];
diff -up opencalais_old/calais.module opencalais/calais.module
--- opencalais_old/calais.module	2010-06-15 19:49:56.000000000 -0600
+++ opencalais/calais.module	2010-07-08 11:43:04.000000000 -0600
@@ -280,6 +280,7 @@ function calais_process_with_semanticpro
   $spfield = variable_get("calais_semanticproxy_field_{$key}", '');
   
   if(!empty($spfield)) {
+    // FeedAPI
     if($spfield == 'calais_feedapi_node') {
       // On insert, $node->feedapi_node is available
       if(isset($node->feedapi_node)) {
@@ -289,6 +290,16 @@ function calais_process_with_semanticpro
         $url = db_result(db_query('SELECT fi.url FROM {feedapi_node_item} fi WHERE fi.nid = %d', $node->nid));
       }
     }
+    // Feeds
+    if($spfield == 'calais_feeds_node') {
+      // On insert, $node->feeds_node_item is available
+      if(isset($node->feeds_node_item)) {
+        $url = $node->feeds_node_item->url;
+      }
+      else { // On update, we need to pull the URL from the DB. Should always be the same. 
+        $url = db_result(db_query('SELECT fi.url FROM {feeds_node_item} fi WHERE fi.nid = %d', $node->nid));
+      }
+    }
     else {
       // Grab URL from link or textfield 
       $field = $node->{$spfield};
Common subdirectories: opencalais_old/contrib and opencalais/contrib
Common subdirectories: opencalais_old/images and opencalais/images
Common subdirectories: opencalais_old/includes and opencalais/includes
Common subdirectories: opencalais_old/views and opencalais/views
