diff -rNup alpha11\feeds_ui\feeds_ui.admin.inc feeds\feeds_ui\feeds_ui.admin.inc
--- alpha11\feeds_ui\feeds_ui.admin.inc	Thu Jan 28 00:26:32 2010
+++ feeds\feeds_ui\feeds_ui.admin.inc	Mon Feb 15 10:45:55 2010
@@ -318,6 +318,12 @@ function feeds_ui_edit_page($importer, $
       $active_container['title'] = t('Mapping for !processor', array('!processor' => $plugins[$config['processor']['plugin_key']]['name']));
       $active_container['body'] = drupal_get_form('feeds_ui_mapping_form', $importer);
       break;
+    case 'parse_example':
+			$url = $_GET['url'];
+			if(!$url){echo 'No URL or Path entered';return;}
+			$example = feeds_ui_parse_example($importer,$url);
+			echo '<pre>'.print_r($example,true).'</pre>';
+			return;
   }
 
   // Build config info.
@@ -477,6 +483,52 @@ function theme_feeds_ui_plugin_form($for
   return $output;
 }
 
+function feeds_ui_parse_example($importer,$url=NULL) {
+	$source = feeds_source($importer->id);
+
+	//add url as source in config, works for FeedsHTTPFetcher and FeedsFileFetcher
+	$conf = array(get_class($importer->fetcher) => array('source' => $url));
+	$source->addConfig($conf);
+
+	try {
+		$feed = $importer->fetcher->fetch($source);
+		$importer->parser->parse($feed, $source);
+
+		$example=array();
+		while($item = $feed->shiftItem()) {
+			$example = _feeds_ui_array_union_notnull($example,$item);
+		}
+		unset($feed);
+	}
+	catch (Exception $e) {
+		return $e->getMessage();
+	}
+	return $example;
+}
+
+function _feeds_ui_array_union_notnull($arr1,$arr2)
+{
+	$single = '**non-array**';
+	if(is_array($arr1))
+	{
+		if(is_array($arr2))
+		{
+			foreach($arr2 as $k => $v)
+			{
+				if($arr1[$k])$arr1[$k] = _feeds_ui_array_union_notnull($arr1[$k],$v);
+				else $arr1[$k] = $v;
+			}
+		}
+		else if(!is_null($arr2) && !isset($arr1[$single]))$arr1[$single]=$arr2;
+	}
+	else
+	{
+		if(is_null($arr1))$arr1=$arr2;
+		else if(is_array($arr2))$arr1 = _feeds_ui_array_union_notnull(array($single => $arr1),$arr2);
+	}
+	return $arr1;
+}
+
 /**
  * Edit mapping.
  *
@@ -583,7 +635,46 @@ function feeds_ui_mapping_form(&$form_st
     '#value' => t('Save'),
     '#attributes' => array('class' => 'feeds-ui-hidden-submit'),
   );
+  
+  $parser_config = $importer->parser->getConfig();
+  feeds_ui_form_add_parsed_example($form,$parser_config['config_file']);
+  
   return $form;
+}
+
+function feeds_ui_form_add_parsed_example(&$form,$config_file,$relative_url='')
+{
+	drupal_add_js(drupal_get_path('module', 'feeds_ui') .'/feeds_ui_parse_example.js');
+	//PARSED EXAMPLE
+  $form['parsed_example'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('Example Feed'),
+    '#weight' => 9,
+    '#collapsible' => TRUE,
+    '#collapsed' => FALSE,
+    '#tree' => TRUE,
+  );
+  
+  $form['parsed_example']['parse_feed'] = array(
+	    '#type' => 'textfield',
+  		'#title' => t('RSS Feed URL (HTTPFetcher) or Local File Path (FileFetcher)'),
+  		'#size' => 60,
+  		'#maxlength' => 256,
+  		'#required' => FALSE,
+  		'#default_value' => isset($config_file) ? $config_file : '',
+  		'#attributes' => array('class' => 'feeds-ui-parse-feed'),
+	);
+	$form['parsed_example']['parse_button'] = array(
+	    '#value' => '<button class="feeds-ui-parse-button" type="button">'.t('Parse').'</button>',
+	);
+	$form['parsed_example']['parse_result'] = array(
+	    '#value' => '<div class="feeds-ui-parse-result">example shown here</div>',
+	);
+	$form['parsed_example']['relative_url'] = array(
+			'#type' => 'hidden',
+			'#attributes' => array('class' => 'feeds-ui-relative_url'),
+	    '#value' => $relative_url,
+	);
 }
 
 /**
diff -rNup alpha11\feeds_ui\feeds_ui_parse_example.js feeds\feeds_ui\feeds_ui_parse_example.js
--- alpha11\feeds_ui\feeds_ui_parse_example.js	Thu Jan 01 09:00:00 1970
+++ feeds\feeds_ui\feeds_ui_parse_example.js	Thu Jan 21 20:46:33 2010
@@ -0,0 +1,19 @@
+// $Id: feeds_ui.js,v 1.1 2009/10/20 21:01:35 alexb Exp $
+
+Drupal.behaviors.feeds_parse_example = function() {
+
+  // Dynamic Parsing for giving examples
+  $('.feeds-ui-parse-button').click(function()
+	{
+		var feed = $('.feeds-ui-parse-feed').val();
+		var relative_url = $('.feeds-ui-relative_url').val();
+		$.ajax({
+			type: "GET",
+			url: relative_url+"parse_example",
+			data: "url=" + encodeURI(feed),
+			success: function(msg){
+				$('.feeds-ui-parse-result').html(msg);
+			}
+		});
+	});
+};
