title: How do I parse an HTML table with Nokogiri?
body: <p>I installed Ruby and Mechanize. It seems to me that it is posible in Nokogiri to do what I want to do but I do not know how to do it.</p>
  
  <p>What about this <code>table</code>? It is just part of the HTML of a vBulletin forum site. I tried to keep the HTML structure but delete some text and tag attributes. I want to get some details per thread like: Title, Author, Date, Time, Replies, and Views.</p>
  
  <p>Please note that there are few tables in the HTML document? I am after one particular table with its <code>tbody</code>, <code>&lt;tbody id="threadbits_forum_251"&gt;</code>. The name will be always the same (I hope). Can I use the <code>tbody</code> and the <code>name</code> in the code? </p>
  
  <pre><code>&lt;table &gt;
    &lt;tbody&gt;
      &lt;tr&gt;  &lt;!-- table header --&gt; &lt;/tr&gt;
    &lt;/tbody&gt;
    &lt;!-- show threads --&gt;
    &lt;tbody id="threadbits_forum_251"&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;/td&gt;
        &lt;td&gt;&lt;/td&gt;
        &lt;td&gt;
          &lt;div&gt;
            &lt;a href="showthread.php?t=230708" &gt;Vb4 Gold Released&lt;/a&gt;
          &lt;/div&gt;
          &lt;div&gt;
            &lt;span&gt;&lt;a&gt;Paul M&lt;/a&gt;&lt;/span&gt;
          &lt;/div&gt;
        &lt;/td&gt;
        &lt;td&gt;
            06 Jan 2010 &lt;span class="time"&gt;23:35&lt;/span&gt;&lt;br /&gt;
            by &lt;a href="member.php?find=lastposter&amp;amp;t=230708"&gt;shane943&lt;/a&gt; 
          &lt;/div&gt;
        &lt;/td&gt;
        &lt;td&gt;&lt;a href="#"&gt;24&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;1,320&lt;/td&gt;
      &lt;/tr&gt;
  
    &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>