title: PHP 1 element per category in RSS
body: <p>Guys, i have something like this:</p>
  
  <pre><code>$rss-&gt;feed = "http://nola.gosimian.com/rss_content.php";                
          if (!$rss-&gt;parse())
                echo $rss-&gt;error;
  
  
          $column_count = 0;            
          $i=0;  
          while($i &lt; 25)
          {       
  
  
              $title      = $rss-&gt;channel['ITEM'][$i]['TITLE'];
              $item_id        = $rss-&gt;channel['ITEM'][$i]['ITEMID'];
              $title_clean = ereg_replace("[[:space:]]", "", $title);             
              $credits    =  str_replace(' -cmd- ',',', $rss-&gt;channel['ITEM'][$i]['COMMENTS']);
              $credits_clean = str_replace(',Director||','', $credits);
              $credits_clean = ereg_replace("[[:space:]]", "-", $credits_clean);
              $desc       =  $rss-&gt;channel['ITEM'][$i]['DESCRIPTION'];
              $thumbnail  =  $rss-&gt;channel['ITEM'][$i]['SOURCE'];
              $media      =  $rss-&gt;channel['ITEM'][$i]['ENCLOSURE']['URL'];
              $date       =  $rss-&gt;channel['ITEM'][$i]['PUBDATE'];    
              foreach($date as $date) {
              echo '&lt;a href="'.get_option('home').'/player/'.$credits_clean.'/' . $item_id . '" title="' . $title . '"&gt;&lt;img src="' . $thumbnail . '" width="190" height="115" class="thumbnail"&gt;&lt;/a&gt;';                       
              $column_count++;        
              $i++;           
              }
              /*if($column_count == 3)
              {
                  echo '&lt;/tr&gt;&lt;tr&gt;';
                  $column_count = 0;
              }*/
  
          }
  </code></pre>
  
  <p>Is it possible to show only one item/entry of the RSS for each "Director" Element (if there are twelve directors, show twelve videos). ?</p>
  
  <p>Thanks so much!!</p>