# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
--- /Users/daglees/Desktop/feeds_xpathparser-1/FeedsXPathParserBase.inc
+++ /Users/daglees/Sites/yakhabar/sites/all/modules/feeds_xpathparser/FeedsXPathParserBase.inc
@@ -104,6 +104,10 @@
           $parsed_item[$element_key] = $result;
         }
       }
+      
+      // Add source URL to our FeedsParserResult object
+      $parser_result->items[0]['url'] = $fetcher_config['source'];
+      
       if (!empty($parsed_item)) {
         $parser_result->items[] = $parsed_item;
       }
@@ -466,6 +470,10 @@
         'name' => t('XPath Expression'),
         'description' => t('Allows you to configure an XPath expression that will populate this field.'),
       ),
+      'url' => array(
+        'name' => 'Item URL (Link)',
+        'description' => 'The source URL.',
+      ),
     ) + parent::getMappingSources();
   }
 
