Index: xoops_trust_path/modules/d3blog/language/ja_utf8/blocks_common.php
===================================================================
--- xoops_trust_path/modules/d3blog/language/ja_utf8/blocks_common.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/language/ja_utf8/blocks_common.php	(.../trunk)	(revision 680)
@@ -21,7 +21,7 @@
 // archives
 define('_MB_D3BLOG_EDIT_ARCHIVE_NUMBER_PER_PAGE', 'è¡¨ç¤ºã�™ã‚‹å¹´æœˆã�®æ•°');
 // common
-define('_MB_D3BLOG_EDIT_MAX_TITLE_LENGTH','è¡¨ç¤ºã‚¿ã‚¤ãƒˆãƒ«é•·');
+define('_MB_D3BLOG_EDIT_MAX_TITLE_LENGTH','è¡¨ç¤ºã‚¿ã‚¤ãƒˆãƒ«é•·(0=ç„¡åˆ¶é™�)');
 define('_MB_D3BLOG_EDIT_MAX_CONTENTS_LENGTH','è¡¨ç¤ºã‚³ãƒ³ãƒ†ãƒ³ãƒ„é•·(0=ç„¡åˆ¶é™�)(æŒ‡å®šã�—ã�Ÿå ´å�ˆã‚¿ã‚°ã‚’å‰Šé™¤ã�—ã�¾ã�™)');
 define('_MB_D3BLOG_EDIT_DATE_FORMAT','æ—¥ä»˜æ›¸å¼�');
 define('_MB_D3BLOG_EDIT_TYPE','ã‚¿ã‚¤ãƒ—(1=listå½¢å¼�ã€�2=tableå½¢å¼�)');
Index: xoops_trust_path/modules/d3blog/language/japanese/blocks_common.php
===================================================================
--- xoops_trust_path/modules/d3blog/language/japanese/blocks_common.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/language/japanese/blocks_common.php	(.../trunk)	(revision 680)
@@ -21,7 +21,7 @@
 // archives
 define('_MB_D3BLOG_EDIT_ARCHIVE_NUMBER_PER_PAGE', 'É½¼¨¤¹¤ëÇ¯·î¤Î¿ô');
 // common
-define('_MB_D3BLOG_EDIT_MAX_TITLE_LENGTH','É½¼¨¥¿¥¤¥È¥ëÄ¹');
+define('_MB_D3BLOG_EDIT_MAX_TITLE_LENGTH','É½¼¨¥¿¥¤¥È¥ëÄ¹(0=ÌµÀ©¸Â)');
 define('_MB_D3BLOG_EDIT_MAX_CONTENTS_LENGTH','É½¼¨¥³¥ó¥Æ¥ó¥ÄÄ¹(0=ÌµÀ©¸Â)(»ØÄê¤·¤¿¾ì¹ç¥¿¥°¤òºï½ü¤·¤Þ¤¹)');
 define('_MB_D3BLOG_EDIT_DATE_FORMAT','ÆüÉÕ½ñ¼°');
 define('_MB_D3BLOG_EDIT_TYPE','¥¿¥¤¥×(1=list·Á¼°¡¢2=table·Á¼°)');
Index: xoops_trust_path/modules/d3blog/language/portuguesebr/blocks_common.php
===================================================================
--- xoops_trust_path/modules/d3blog/language/portuguesebr/blocks_common.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/language/portuguesebr/blocks_common.php	(.../trunk)	(revision 680)
@@ -21,7 +21,7 @@
 // archives
 define('_MB_D3BLOG_EDIT_ARCHIVE_NUMBER_PER_PAGE', 'Número de arquivos que serão mostrados');
 // common
-define('_MB_D3BLOG_EDIT_MAX_TITLE_LENGTH','Comprimento máximo do título que será mostrado');
+define('_MB_D3BLOG_EDIT_MAX_TITLE_LENGTH','Comprimento máximo do título que será mostrado (0=Sem limite)');
 define('_MB_D3BLOG_EDIT_MAX_CONTENTS_LENGTH','Comprimento máximo dos conteúdos que serão mostrados (0=Sem limite)(tags despidas se > 0)');
 define('_MB_D3BLOG_EDIT_DATE_FORMAT','Formato da data');
 define('_MB_D3BLOG_EDIT_TYPE','Como mostrar (1=Estilo lista 2=Estilo tabela)');
Index: xoops_trust_path/modules/d3blog/language/english/blocks_common.php
===================================================================
--- xoops_trust_path/modules/d3blog/language/english/blocks_common.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/language/english/blocks_common.php	(.../trunk)	(revision 680)
@@ -21,7 +21,7 @@
 // archives
 define('_MB_D3BLOG_EDIT_ARCHIVE_NUMBER_PER_PAGE', 'How many archives to show');
 // common
-define('_MB_D3BLOG_EDIT_MAX_TITLE_LENGTH','Maximum of title length to show');
+define('_MB_D3BLOG_EDIT_MAX_TITLE_LENGTH','Maximum title length to show (0=no limit)');
 define('_MB_D3BLOG_EDIT_MAX_CONTENTS_LENGTH','Maximum lengths to show contents (0=no limit)(tags stripped if > 0)');
 define('_MB_D3BLOG_EDIT_DATE_FORMAT','Date format');
 define('_MB_D3BLOG_EDIT_TYPE','How to show (1=list style 2=table style)');
Index: xoops_trust_path/modules/d3blog/main/atom.php
===================================================================
--- xoops_trust_path/modules/d3blog/main/atom.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/main/atom.php	(.../trunk)	(revision 680)
@@ -9,6 +9,10 @@
     exit(d3blog_responseError("Sorry, you don't have permission to get atom feed", 1));
 }
 
+// mbstring
+if(function_exists('mb_http_output'))
+    mb_http_output('pass');
+
 require_once(XOOPS_ROOT_PATH.'/class/template.php');
 $myModule = call_user_func(array($mydirname, 'getInstance'));
 
@@ -16,16 +20,14 @@
 $cat_handler =& $myModule->getHandler('category');
 $all_categories =& $cat_handler->getAll();
 
-$myts =& d3blogTextSanitizer::getInstance();
+$myts =& MyTextSanitizer::getInstance();
 //$mydirname4show = $myts->htmlSpecialChars($mydirname);
 
-header ('Content-Type:text/xml; charset=utf-8');
 $tpl = new XoopsTpl();
 $tpl->xoops_setCaching(2);
-$tpl->xoops_setCacheTime(10);
+$tpl->xoops_setCacheTime(0);
 
-if (!$tpl->is_cached("db:{$mydirname}_main_atom.xml")) {
-
+if(!$tpl->is_cached("db:{$mydirname}_main_atom.xml")) {
     // Meta tags
     $xoopsConfigMetaFooter = array();
     $config_handler =& xoops_gethandler('config');
@@ -41,7 +43,7 @@
 
     $feed['lang'] = _LANGCODE;
     $feed['subtitle'] = xoops_convert_encoding($myts->htmlSpecialChars($xoopsConfig['sitename'].'-'.$xoopsConfig['slogan']));
-    $feed['title'] = xoops_convert_encoding($myModule->module_name);
+    $feed['title'] = xoops_convert_encoding($myts->htmlSpecialChars($myModule->module_name, ENT_QUOTES));
     $feed['link'] = $feed['generator_url'] = xoops_convert_encoding($myts->htmlSpecialChars(XOOPS_URL.'/'));
     $feed['link_self'] = xoops_convert_encoding($myts->htmlSpecialChars(XOOPS_URL."/modules/$mydirname/index.php?page=atom"));
     preg_match('@^(?:http://)?([^/]+)@i', XOOPS_URL, $matches);
@@ -86,6 +88,8 @@
 
     $tpl->assign('feed', $feed);
     $tpl->assign('entries', $items);
-    $tpl->display("db:{$mydirname}_main_atom.xml");
 }
+
+header ('Content-Type:text/xml; charset=utf-8');
+$tpl->display("db:{$mydirname}_main_atom.xml");
 ?>
\ No newline at end of file
Index: xoops_trust_path/modules/d3blog/main/rss.php
===================================================================
--- xoops_trust_path/modules/d3blog/main/rss.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/main/rss.php	(.../trunk)	(revision 680)
@@ -4,6 +4,10 @@
  * @author  Takeshi Kuriyama <kuri@keynext.co.jp>
  */
 
+// mbstring
+if(function_exists('mb_http_output'))
+    mb_http_output('pass');
+
 require_once(XOOPS_ROOT_PATH.'/class/template.php');
 
 // check if user has perm
@@ -14,7 +18,7 @@
 $cat_handler =& $myModule->getHandler('category');
 $entry_handler =& $myModule->getHandler('entry');
 $tb_handler =& $myModule->getHandler('trackback');
-$myts =& d3blogTextSanitizer::getInstance();
+$myts =& MyTextSanitizer::getInstance();
 
 // CRITERIA FOR TOTAL ENTRIES COUNT
 $criteria =& $entry_handler->getCriteria();
@@ -25,19 +29,18 @@
     redirect_header(sprintf('%s/modules/%s/index.php', XOOPS_URL, $mydirname), 1, htmlspecialchars($ermsg, ENT_QUOTES));
 }
 
-header ('Content-Type:text/xml; charset=utf-8');
 $tpl = new XoopsTpl();
 $tpl->xoops_setCaching(2);
-$tpl->xoops_setCacheTime(10);
+$tpl->xoops_setCacheTime(0);
 
 if (!$tpl->is_cached("db:{$mydirname}_main_rss.xml")) {
-
+    $module_name = xoops_convert_encoding(htmlspecialchars($myModule->module_name, ENT_QUOTES));
     $feed['lang'] = _LANGCODE;
-    $feed['title'] = xoops_convert_encoding($myModule->module_name);
+    $feed['title'] = $module_name;
     $feed['link'] = XOOPS_URL.'/';
     $feed['desc'] = xoops_convert_encoding(htmlspecialchars($xoopsConfig['sitename'].'-'.$xoopsConfig['slogan'], ENT_QUOTES));
     $feed['lastbuild'] = d3blog_rfc2822_date(time());
-    $feed['category'] = xoops_convert_encoding($myModule->module_name);
+    $feed['category'] = $module_name;
     $feed['generator'] = xoops_convert_encoding(htmlspecialchars('D3BLOG - XOOPS BLOG MODULE', ENT_QUOTES));
     $logo_path = $myModule->getConfig('logo_path');
     $feed['logo_url'] = '';
@@ -77,5 +80,6 @@
 
 }
 
+header ('Content-Type:text/xml; charset=utf-8');
 $tpl->display("db:{$mydirname}_main_rss.xml");
 ?>
\ No newline at end of file
Index: xoops_trust_path/modules/d3blog/main/rdf.php
===================================================================
--- xoops_trust_path/modules/d3blog/main/rdf.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/main/rdf.php	(.../trunk)	(revision 680)
@@ -9,15 +9,18 @@
     exit(d3blog_responseError("Sorry, you don't have permission to get atom feed", 1));
 }
 
+// mbstring
+if(function_exists('mb_http_output'))
+    mb_http_output('pass');
+
 require_once(XOOPS_ROOT_PATH.'/class/template.php');
 $entry_handler =& $myModule->getHandler('entry');
 
-$myts =& d3blogTextSanitizer::getInstance();
+$myts =& MyTextSanitizer::getInstance();
 
-header ('Content-Type:text/xml; charset=utf-8');
 $tpl = new XoopsTpl();
 $tpl->xoops_setCaching(2);
-$tpl->xoops_setCacheTime(10);
+$tpl->xoops_setCacheTime(0);
 
 if (!$tpl->is_cached("db:{$mydirname}_main_rdf.xml")) {
     // Meta tags
@@ -35,7 +38,7 @@
 
     $feed['language'] = _LANGCODE;
     $feed['description'] = xoops_convert_encoding(htmlspecialchars($xoopsConfig['sitename'].'-'.$xoopsConfig['slogan'], ENT_QUOTES));
-    $feed['title'] = xoops_convert_encoding($myModule->module_name);
+    $feed['title'] = xoops_convert_encoding(htmlspecialchars($myModule->module_name, ENT_QUOTES));
     $feed['link'] = sprintf('%s/modules/%s/index.php', XOOPS_URL, $mydirname4show);
     $feed['creater'] = xoops_convert_encoding(htmlspecialchars($xoopsConfigMetaFooter['meta_author'], ENT_QUOTES));
 
@@ -65,6 +68,8 @@
     $tpl->assign('entries', $items);
     $tpl->assign('mydirname', $mydirname4show);
     $tpl->assign('mod_url', sprintf("%s/modules/%s", XOOPS_URL, $mydirname4show));
-    $tpl->display("db:{$mydirname}_main_rdf.xml");
 }
+
+header ('Content-Type:text/xml; charset=utf-8');
+$tpl->display("db:{$mydirname}_main_rdf.xml");
 ?>
\ No newline at end of file
Index: xoops_trust_path/modules/d3blog/main/details.php
===================================================================
--- xoops_trust_path/modules/d3blog/main/details.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/main/details.php	(.../trunk)	(revision 680)
@@ -44,16 +44,11 @@
             $exp = sprintf(_MD_D3BLOG_MESSAGE_YOU_CHOICED, _MD_D3BLOG_LANG_BLOGGER_NAME);
     } else {
         $exp = sprintf(_MD_D3BLOG_MESSAGE_YOU_CHOICED, _MD_D3BLOG_LANG_BLOG_ID);
-    }  
+    }
     redirect_header(sprintf('%s/modules/%s/index.php', XOOPS_URL, $mydirname), 1, sprintf(_MD_D3BLOG_MESSAGE_SORRY_WAIT_UNTILL_PUBLISHED, $exp));
     exit();
 }
 
-$entry_array =& $entry->getStructure();
-
-// obtain trackback
-$entry_array['trackback'] = $tb_handler->getTrackback($bid);
-
 // count up view counter
 if(empty($_GET['com_id'])) {
     if($myModule->getConfig('increment_by_owner') || $entry->uid() != $currentUser->uid()) {
@@ -61,6 +56,11 @@
     }
 }
 
+$entry_array =& $entry->getStructure();
+
+// obtain trackback
+$entry_array['trackback'] = $tb_handler->getTrackback($bid);
+
 $xoopsOption['template_main'] = $mydirname.'_main_details.html';
 
 // Include the page header
@@ -69,12 +69,12 @@
 // BREADCRUMBS and PAGE TITLE
 if(!isset($entry_handler->filter_->breadcrumb_info_)) {
     $entry_handler->filter_->breadcrumb_info_ = $cat_handler->getNicePathArrayFromId($entry->cid(),
-                            sprintf('%s/modules/%s/index.php', XOOPS_URL, $mydirname4show)); 
+                            sprintf('%s/modules/%s/index.php', XOOPS_URL, $mydirname4show));
     $entry_handler->filter_->subtitle_ = $entry->title();
 }
 $xoops_breadcrumbs = array_merge($xoops_breadcrumbs, array_reverse($entry_handler->filter_->breadcrumb_info_));
 // and current page
-array_push($xoops_breadcrumbs, array( 'name' => $entry->title(), 'url' => '' )); 
+array_push($xoops_breadcrumbs, array( 'name' => $entry->title(), 'url' => '' ));
 
 $bloggers =& myPerm::getMembersByName('blog_perm_edit');
 $currentUser4show =& $currentUser->getStructure();
@@ -122,7 +122,7 @@
             $currentUser->_userCookie = new myXoopsUserCookie();
             $currentUser->_userCookie->getCookie();
         }
-        
+
         // show comments received
         $com_handler =& $myModule->getHandler('comment');
         $comments = $com_handler->getByEntry($entry->bid());
Index: xoops_trust_path/modules/d3blog/CHANGE
===================================================================
--- xoops_trust_path/modules/d3blog/CHANGE	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/CHANGE	(.../trunk)	(revision 680)
@@ -1,4 +1,14 @@
 [CHANGES]
+- v1.08.02
+  Applicable to TokyoPen.
+- v1.08.01
+  Fixed view count timing.
+- v1.08
+  Modified feeder contents.
+- v1.07.02
+  Fixed a publish date timeformating.
+- v1.07.01
+  Block title length is optin.
 - v1.07
   Each entry has a switch to accept or not trackbacks. Default is 'yes';
 - v1.06.01
Index: xoops_trust_path/modules/d3blog/templates/main_details.html
===================================================================
--- xoops_trust_path/modules/d3blog/templates/main_details.html	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/templates/main_details.html	(.../trunk)	(revision 680)
@@ -20,13 +20,15 @@
 <{if !$moduleConfig.perm_by_entry or $entry.permed_group}>
 <!-- Trackbacks -->
 <h4 id="d3blogTrackback"><{$smarty.const._MD_D3BLOG_LANG_TRACKBACK}></h4>
-    <{if !$moduleConfig.trackback_ticket}>
+    <{if $entry.tb_acceptable}>
+        <{if !$moduleConfig.trackback_ticket}>
 <h5 id="d3blogShowTrackbackURL"><{$smarty.const._MD_D3BLOG_LANG_TRACKBACK_URL}>
 <span id="d3blogTrackbackURL"><{$entry.trackback_url}></span></h5>
-    <{else}>
+        <{else}>
 <h5 id="d3blogShowTrackbackURL"><{$smarty.const._MD_D3BLOG_LANG_TRACKBACK_URL}>
 <span id='d3blogGetTrackbackURL'><a href='javascript:getTrackbackValidKey(<{$entry.bid}>)'><{$smarty.const._MD_D3BLOG_LANG_GET_VALID_TRACKBACK_URL_KEY}></a></span>
 <span id="d3blogTrackbackURL"></span></h5>
+        <{/if}>
     <{/if}>
     <{if $entry.trackback}>
         <{if $entry.trackback.outbound}>
Index: xoops_trust_path/modules/d3blog/templates/main_atom.xml
===================================================================
--- xoops_trust_path/modules/d3blog/templates/main_atom.xml	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/templates/main_atom.xml	(.../trunk)	(revision 680)
@@ -1,4 +1,13 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE feed [
+      <!ENTITY lt "&#38;#60;">
+      <!ENTITY gt "&#62;">
+      <!ENTITY amp "&#38;#38;">
+      <!ENTITY apos "&#39;">
+      <!ENTITY quot "&#34;">
+      <!ENTITY nbsp "&#160;">
+      <!ENTITY copy "&#169;">
+]>
 <feed xmlns="http://www.w3.org/2005/Atom">
     <title type="text"><{$feed.title}></title>
     <subtitle type="text"><{$feed.subtitle}></subtitle>
Index: xoops_trust_path/modules/d3blog/templates/main_archives.html
===================================================================
--- xoops_trust_path/modules/d3blog/templates/main_archives.html	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/templates/main_archives.html	(.../trunk)	(revision 680)
@@ -2,26 +2,26 @@
 <h3 class="structurelabel"><{$smarty.const._MD_D3BLOG_LANG_RETRIEVE_ARCHIVES}></h3>
 <form name="catselbox" id="catselbox" action="" method="get">
 <fieldset id="d3blogSelBox">
-	<label for="cid"><{$smarty.const._MD_D3BLOG_LANG_CATEGORY}>
-	<select name="cid" id="cid">
-		<option value=""><{$smarty.const._MD_D3BLOG_LANG_SELECT_ALL}></option>
-	<{foreach item=cat from=$catselbox}>
-		<option value="<{$cat.cid}>"<{if $cat.cid eq $filter.cid_}> selected="selected"<{/if}>><{$cat.prefix}><{$cat.name}></option>
-	<{/foreach}>
-	</select></label>
-	<label for="date"><{$smarty.const._MD_D3BLOG_LANG_PUBLISH_DATE}>
-	<select name="date" id="date">
-	<option value=""><{$smarty.const._MD_D3BLOG_LANG_SELECT_ALL}></option>
-	<{html_options options=$dateselbox selected=$filter.date_}>
-	</select></label>
+    <label for="cid"><{$smarty.const._MD_D3BLOG_LANG_CATEGORY}>
+    <select name="cid" id="cid">
+        <option value=""><{$smarty.const._MD_D3BLOG_LANG_SELECT_ALL}></option>
+    <{foreach item=cat from=$catselbox}>
+        <option value="<{$cat.cid}>"<{if $cat.cid eq $filter.cid_}> selected="selected"<{/if}>><{$cat.prefix}><{$cat.name}></option>
+    <{/foreach}>
+    </select></label>
+    <label for="date"><{$smarty.const._MD_D3BLOG_LANG_PUBLISH_DATE}>
+    <select name="date" id="date">
+    <option value=""><{$smarty.const._MD_D3BLOG_LANG_SELECT_ALL}></option>
+    <{html_options options=$dateselbox selected=$filter.date_}>
+    </select></label>
 <{if $bloggers > 1}>
-	<label for="uid"><{$smarty.const._MD_D3BLOG_LANG_BLOGGER_NAME}>
-	<select name="uid" id="uid">
-	<option value=""><{$smarty.const._MD_D3BLOG_LANG_SELECT_ALL}></option>	
-	<{html_options options=$bloggerselbox selected=$filter.uid_}>
-	</select></label>	
+    <label for="uid"><{$smarty.const._MD_D3BLOG_LANG_BLOGGER_NAME}>
+    <select name="uid" id="uid">
+    <option value=""><{$smarty.const._MD_D3BLOG_LANG_SELECT_ALL}></option>
+    <{html_options options=$bloggerselbox selected=$filter.uid_}>
+    </select></label>
 <{/if}>
-	<input type="submit" value="<{$smarty.const._MD_D3BLOG_LANG_EXTRACT_ARCHIVES}>" />
+    <input type="submit" value="<{$smarty.const._MD_D3BLOG_LANG_EXTRACT_ARCHIVES}>" />
 </fieldset>
 </form>
 <{if $show_archives}>
@@ -29,32 +29,32 @@
 <table id="d3blogArchTable" summary="<{$smarty.const._MD_D3BLOG_LANG_ARCHIVE_SUMMARY}>">
 <thead>
 <tr class="head">
-	<th width="15%" scope="col"><{$smarty.const._MD_D3BLOG_LANG_CATEGORY}></th>
-	<th width="15%" scope="col"><{$smarty.const._MD_D3BLOG_LANG_PUBLISH_DATE}></th>
-	<th width="15%" scope="col"><{$smarty.const._MD_D3BLOG_LANG_BLOG_TITLE}></th>
-	<th scope="col"><{$smarty.const._MD_D3BLOG_LANG_BLOG_CONTENTS}></th>
-	<{if $bloggers > 1}>
-	<th width="10%" scope="col"><{$smarty.const._MD_D3BLOG_LANG_BLOGGER_NAME}></th>
-	<{/if}>
+    <th width="15%" scope="col"><{$smarty.const._MD_D3BLOG_LANG_CATEGORY}></th>
+    <th width="15%" scope="col"><{$smarty.const._MD_D3BLOG_LANG_PUBLISH_DATE}></th>
+    <th width="15%" scope="col"><{$smarty.const._MD_D3BLOG_LANG_BLOG_TITLE}></th>
+    <th scope="col"><{$smarty.const._MD_D3BLOG_LANG_BLOG_CONTENTS}></th>
+    <{if $bloggers > 1}>
+    <th width="10%" scope="col"><{$smarty.const._MD_D3BLOG_LANG_BLOGGER_NAME}></th>
+    <{/if}>
 <{*	<th scope="col"><{$smarty.const._MD_D3BLOG_LANG_READS}></th>
-	<{if $moduleConfig.com_rule ne $smarty.const.XOOPS_COMMENT_APPROVENONE}><th scope="col"><{$smarty.const._MD_D3BLOG_LANG_COMMENTS}></th><{/if}>
-	<th scope="col"><{$smarty.const._MD_D3BLOG_LANG_TRACKBACK}></th>*}>
+    <{if $moduleConfig.com_rule ne $smarty.const.XOOPS_COMMENT_APPROVENONE}><th scope="col"><{$smarty.const._MD_D3BLOG_LANG_COMMENTS}></th><{/if}>
+    <th scope="col"><{$smarty.const._MD_D3BLOG_LANG_TRACKBACK}></th>*}>
 </tr>
 </thead>
-	<{foreach item=entry from=$entries}>
+    <{foreach item=entry from=$entries}>
 <tr class="<{cycle values="even, odd"}>">
-	<td><{$entry.category.name}></td>
-	<td><{$entry.publish_date}></td>
-	<td><a href="<{$mod_url}>/details.php?bid=<{$entry.bid}><{if $filter.uid_}>&amp;uid=<{$filter.uid_}><{/if}><{if $filter.cid_}>&amp;cid=<{$filter.cid_}><{/if}><{if $filter.date_}>&amp;date=<{$filter.date_}><{/if}>" title="<{$smarty.const._MD_D3BLOG_LANG_LINK_TO_PAGE_OF|replace:'%s':$entry.title}>"><{$entry.title}></a></td>
-	<td><{$entry.summary}></td>
-		<{if $bloggers > 1}>
-	<td><a href="<{$xoops_url}>/userinfo.php?uid=<{$entry.uid}>" title="<{$smarty.const._MD_D3BLOG_LANG_SEE_BLOGGER_PROFILE|replace:'%s':$entry.blogger.uname}>"><{$entry.blogger.uname}></a></td>
-		<{/if}>
+    <td><{$entry.category.name}></td>
+    <td><{$entry.published|formatTimestamp:"Y-m-d"}></td>
+    <td><a href="<{$mod_url}>/details.php?bid=<{$entry.bid}><{if $filter.uid_}>&amp;uid=<{$filter.uid_}><{/if}><{if $filter.cid_}>&amp;cid=<{$filter.cid_}><{/if}><{if $filter.date_}>&amp;date=<{$filter.date_}><{/if}>" title="<{$smarty.const._MD_D3BLOG_LANG_LINK_TO_PAGE_OF|replace:'%s':$entry.title}>"><{$entry.title}></a></td>
+    <td><{$entry.summary}></td>
+        <{if $bloggers > 1}>
+    <td><a href="<{$xoops_url}>/userinfo.php?uid=<{$entry.uid}>" title="<{$smarty.const._MD_D3BLOG_LANG_SEE_BLOGGER_PROFILE|replace:'%s':$entry.blogger.uname}>"><{$entry.blogger.uname}></a></td>
+        <{/if}>
 <{*	<td style="text-align:center;"><{$entry.counter}></td>
-	<{if $moduleConfig.com_rule ne $smarty.const.XOOPS_COMMENT_APPROVENONE}><td style="text-align:center;"><{if $moduleConfig.com_agent ne $mydirname && $moduleConfig.com_agent_forumid > 0}><{d3comment mode="count" var="comments" mydirname=$mydirname class="d3blogD3commentEntry"}><{$comments|default:"0"}><{else}><{$entry.comments}><{/if}></td><{/if}>
-	<td style="text-align:center;"><{$entry.trackbacks}></td>*}>
+    <{if $moduleConfig.com_rule ne $smarty.const.XOOPS_COMMENT_APPROVENONE}><td style="text-align:center;"><{if $moduleConfig.com_agent ne $mydirname && $moduleConfig.com_agent_forumid > 0}><{d3comment mode="count" var="comments" mydirname=$mydirname class="d3blogD3commentEntry"}><{$comments|default:"0"}><{else}><{$entry.comments}><{/if}></td><{/if}>
+    <td style="text-align:center;"><{$entry.trackbacks}></td>*}>
 </tr>
-	<{/foreach}>
+    <{/foreach}>
 </table>
 <h3 class="structurelabel"><{$smarty.const._MD_D3BLOG_LANG_ARCHIVE_FOOTER_NAVIGATION}></h3>
 <map id="d3blogArchivePagenaviMap" name="d3blogArchivePagenaviMap" title="<{$smarty.const._MD_D3BLOG_LANG_ARCHIVE_FOOTER_NAVIGATION}>">
Index: xoops_trust_path/modules/d3blog/xoops_version.php
===================================================================
--- xoops_trust_path/modules/d3blog/xoops_version.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/xoops_version.php	(.../trunk)	(revision 680)
@@ -17,7 +17,7 @@
 
 $modversion['name'] = constant($constpref.'_BASIC_MODULE_NAME');
 $modversion['description'] = constant($constpref.'_BASIC_MODULE_NAME_DSC');
-$modversion['version'] = 1.07;
+$modversion['version'] = 1.0802;
 $modversion['author'] = "T.Kuriyama <kuri@keynext.co.jp>";
 $modversion['credits'] = "www.kuri3.net";
 $modversion['help'] = "{$mydirname}_help.html";
Index: xoops_trust_path/modules/d3blog/class/trackback.class.php
===================================================================
--- xoops_trust_path/modules/d3blog/class/trackback.class.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/class/trackback.class.php	(.../trunk)	(revision 680)
@@ -9,7 +9,11 @@
 require_once dirname(dirname(__FILE__)).'/lib/object.php';
 require_once dirname(dirname(__FILE__)).'/include/filter/TrackbackFilter.class.php';
 require_once dirname(dirname(__FILE__)).'/include/blacklist.class.php';
-require_once XOOPS_ROOT_PATH.'/class/snoopy.php';
+if(defined('TP_SNOOPY_CLASS_PATH')) {
+    require_once TP_SNOOPY_CLASS_PATH;
+} else {
+    require_once XOOPS_ROOT_PATH.'/class/snoopy.php';
+}
 
 if( ! class_exists('d3blogTrackbackObjectBase') ){
 
Index: xoops_trust_path/modules/d3blog/class/entry.class.php
===================================================================
--- xoops_trust_path/modules/d3blog/class/entry.class.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/class/entry.class.php	(.../trunk)	(revision 680)
@@ -278,19 +278,14 @@
 
         $excerpt = $myts->displayTarea($this->getVar('excerpt', 'n'), $this->dohtml(), 1, $this->doxcode(), $this->doimage(), $this->dobr());
         if($strip_tags) {
-            $excerpt = htmlspecialchars(strip_tags($excerpt), ENT_QUOTES);
+            $excerpt = strip_tags($excerpt);
         }
 
-        // special chracters
-        $patterns = array('/\&\#([0-9]{2,10}\;)/', '/\&(amp;)?([a-zA-Z]{2,10}\;)/');
-        $replacement = array('&amp;#\\1;', '&amp;\\1\\2');
-        $excerpt = preg_replace($patterns, $replacement, $excerpt);
-
         if($length > 0) {
             return xoops_substr($excerpt, 0, $length, '...');
-        } elseif($length <= 0) {
-            return $excerpt;
         }
+
+        return $excerpt;
     }
 
     function renderContents($strip_tags=true, $type='s') {
@@ -502,8 +497,8 @@
         $ret['groups'] = $this->groups();
         $ret['permed_group'] = $this->isPermedGroup();
 
-        $ret['publish_date'] = formatTimestamp($this->published(), "Y/m/d");
-        $ret['publish_time'] = formatTimestamp($this->published(), "H:M");
+//        $ret['publish_date'] = formatTimestamp($this->published(), "Y/m/d");
+//        $ret['publish_time'] = formatTimestamp($this->published(), "H:i");
 
         $ret['pingExcerpt'] = $this->pingExcerpt();
 
Index: xoops_trust_path/modules/d3blog/blocks/blocks_latest_entries.php
===================================================================
--- xoops_trust_path/modules/d3blog/blocks/blocks_latest_entries.php	(.../tags/d3blog-1.07)	(revision 680)
+++ xoops_trust_path/modules/d3blog/blocks/blocks_latest_entries.php	(.../trunk)	(revision 680)
@@ -27,7 +27,7 @@
     $mydirname4show = htmlspecialchars($mydirname, ENT_QUOTES);
 
     $max_entries = !empty($options[1])? intval($options[1]) : 5;
-    $title_max_size = !empty($options[2])? intval($options[2]) : 25;
+    $title_max_size = !empty($options[2])? intval($options[2]) : 0;
     $date_format = !empty($options[3])? trim($options[3]) : 'Y/m/d';
     $block_type = !empty($options[4])? intval($options[4]) : 1;
     $show_contents = !empty($options[5])? intval($options[5]) : 0;
@@ -42,8 +42,8 @@
 
     $block = array();
 
-    // CURRENT USER'S INFO 
-    global $currentUser; 
+    // CURRENT USER'S INFO
+    global $currentUser;
 
     if($currentUser->blog_perm_view($myModule->module_id)) {
         $entry_handler =& $myModule->getHandler('entry');
@@ -73,24 +73,24 @@
         } else {
             $objs =& $entry_handler->getObjects($criteria);
         }
-        
+
         $entries = array();
         $first = true;
         $cat_handler =& $myModule->getHandler('category');
         $catall =& $cat_handler->getAll();
 
         $myts =& MyTextSanitizer::getInstance();
-        
+
         foreach($objs as $obj) {
             $entry = $obj->getStructure();
             // shorten title
-            if(strlen($entry['title']) > $title_max_size) {
+            if($title_max_size > 0 && strlen($entry['title']) > $title_max_size) {
                 $entry['title'] = xoops_substr($entry['title'], 0, ($title_max_size -1)) ;
             }
-        
+
             // date format
             $entry['date'] = formatTimestamp($entry['published'], $date_format);
-        
+
             unset($entry['contents']);
             // contents
             if($show_contents) {
@@ -102,7 +102,7 @@
                         if($show_contents == 2) {
                             $contents .= "\n".$body;
                         } elseif($show_contents == 1) {
-                            $entry['readMore'] = 1;                         
+                            $entry['readMore'] = 1;
                         }
                     }
                     // truncate ? then strip tags
