template code...

{$digestview->setResultMax(4)}
{$digestview->setUserId(1)}
{foreach from=$digestview->generateDigestByCategory(2) item=post}
   <a title="{$post->getText()|truncate:50:"..."|escape}" href="{$url->postLink($post)}">
     {$post->getTopic()}
   </a>
   <br/>
   <div class='indent1'>
      {$post->getText()|strip_tags:false|truncate:70:"..."}
   </div>
{/foreach}
