Index: trunk/include/xpress_block_render.php
===================================================================
--- trunk/include/xpress_block_render.php	(revision 48)
+++ trunk/include/xpress_block_render.php	(revision 49)
@@ -116,5 +116,6 @@
 //			xpress_block_cache_write($mydirname,$cache_title. $blockID, $block);  
 		} else {
-			$block = xpress_block_cache_read($mydirname,$cache_title. $blockID);
+			$xml = xpress_block_cache_read($mydirname,$cache_title. $blockID);
+			$block = $xml['block'];
 		}
 		return 	$block;
Index: trunk/templates/blocks/recent_comments_block.html
===================================================================
--- trunk/templates/blocks/recent_comments_block.html	(revision 48)
+++ trunk/templates/blocks/recent_comments_block.html	(revision 49)
@@ -1,23 +1,27 @@
+<{* **************************  usage ****************************
+ 	The template tag of the following list can be used. 
+ 		<{$block.data_count}>
+		<{$content.from_auther_to_post}>
+		<{$content.comment_ID}>
+		<{$content.comment_post_ID}>
+		<{$content.comment_date}>
+		<{$content.comment_date_time}>
+		<{$content.comment_content}>
+		<{$content.comment_excerpt}>
+		<{$content.comment_link}>
+		<{$content.comment_title}>
+		<{$content.comment_title_link}>
+		<{$content.post_link}>
+		<{$content.post_title}>
+		<{$content.post_title_link}>
+		<{$content.author_link}>
+		<{$content.author_name}>
+		<{$content.author_name_link}>
+		<{$content.comment_type}>
+   ************************* End of usage ************************ *}>
+<{* Start Template *}>
+
 <ul class="xpress_recent_comments">
-	<!-- The template tag of the following list can be used. 
-			<{$content.from_auther_to_post}>
-			<{$content.comment_ID}>
-			<{$content.comment_post_ID}>
-			<{$content.comment_date}>
-			<{$content.comment_date_time}>
-			<{$content.comment_content}>
-			<{$content.comment_excerpt}>
-			<{$content.comment_link}>
-			<{$content.comment_title}>
-			<{$content.comment_title_link}>
-			<{$content.post_link}>
-			<{$content.post_title}>
-			<{$content.post_title_link}>
-			<{$content.author_link}>
-			<{$content.author_name}>
-			<{$content.author_name_link}>
-			<{$content.comment_type}>
-	-->
-
+	<{$block.data_count}>
 	<{foreach from=$block.contents item=content}>
 		<li>
Index: trunk/wp-content/plugins/xpressme/include/custom_functions.php
===================================================================
--- trunk/wp-content/plugins/xpressme/include/custom_functions.php	(revision 48)
+++ trunk/wp-content/plugins/xpressme/include/custom_functions.php	(revision 49)
@@ -203,5 +203,6 @@
 		require_once $block_theme_file;
 		$block_render = $call_theme_function_name($options);		//The block name and the called function name should be assumed to be the same name. 			
-		xpress_block_cache_write($mydirname,$cache_title. $blockID, $block_render);
+		$xml['block'] = $block_render;
+		xpress_block_cache_write($mydirname,$cache_title. $blockID, $xml);
 	}
 }
Index: trunk/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php
===================================================================
--- trunk/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php	(revision 48)
+++ trunk/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php	(revision 49)
@@ -94,4 +94,5 @@
 				$item_no++;
 			}
+			$block['data_count'] = $item_no;  //xml unserialise error
 		}
 	}
