title: Display three dot (...) after description?
body: <p>I usage this php code to display recent post with description. Max desc 100 word. How to display 3 dot after 100 word (like this: <strong>this is content of bla bla bla...</strong> ).</p>
  
  <p>Can someone help me, please!</p>
  
  <p>This is my php code:</p>
  
  <pre><code>&lt;?php
  $rss = new DOMDocument();
  $rss-&gt;load('http://domain.com/feed/');
  $feed = array();
  foreach ($rss-&gt;getElementsByTagName('item') as $node) {
  $item = array (
  'title' =&gt; $node-&gt;getElementsByTagName('title')-&gt;item(0)-&gt;nodeValue,
  'desc' =&gt; $node-&gt;getElementsByTagName('description')-&gt;item(0)-&gt;nodeValue,
  'link' =&gt; $node-&gt;getElementsByTagName('link')-&gt;item(0)-&gt;nodeValue,
  'date' =&gt; $node-&gt;getElementsByTagName('pubDate')-&gt;item(0)-&gt;nodeValue,
  );
  array_push($feed, $item);
  }
  $limit = 5;
  for($x=0;$x&lt;$limit;$x++) {
  $title = str_replace(' &amp; ', ' &amp;amp; ', $feed[$x]['title']);
  $link = $feed[$x]['link'];
  $description = $feed[$x]['desc'];
  $description = substr($description, 0, 138); 
  $date = date('d F Y - H:m', strtotime($feed[$x]['date']));
  echo '&lt;li&gt;&lt;strong&gt;&lt;a href="'.$link.'" title="'.$title.'"&gt;'.$title.'&lt;/a&gt;&lt;/strong&gt;';
  echo '&lt;br&gt;&lt;small&gt;'.$date.'&lt;/small&gt;';
  echo '&lt;br&gt;'.$description.'&lt;/br&gt;&lt;/li&gt;';
  }
  ?&gt;
  </code></pre>