[REBOL] Parsing html specific block
From: lp::legoff::free::fr at: 13-Apr-2004 12:06
Hi list,
Maybe a standard question :
How parse a html file containing some <tr>...</tr> blocks like :
....
<table width="600" align="center" border="0" cellpadding="1" cellspacing="1"
><tr>
<td align="center" nowrap><span >TARGET</span></td>
<td align="center" nowrap><span >URL</span></td>
<td align="center" nowrap><span >WORD</span></td>
<td align="center" nowrap><span >TEST</span></td>
<td align="center" nowrap><span >TIME</span></td>
</tr>
<tr>
<td align="left" nowrap><a href="http://wwww.google.com">GOOGLE</a></td>
<td align="center" nowrap>http://wwww.google.com</td>
<td align="center" nowrap>Google</td>
<td align="center" nowrap>KO</td>
<td align="center" nowrap>NA</td>
</tr>
..... etc
</table>
....
BUT just keep <tr>..</tr> blocks containing specific strings like "KO" and
reform the html file with them inside original <table>...</table>.
Any idea ?
Thanks a lot,
Philippe.