Hello,

I  have the following segment HTML code I want to parse:

<table><tr>
<td halign=center><a href="www.rebol.com>The Rebol website</a> contains
useful REBOL links</td>
</tr>
><tr>
<td halign=center><a href="www.perl.com>The Perl website</a> contains useful
Perl links</td>
</tr>
...
etc.
...
</table>

The table consists of a series of links in the anchor tag which I want to
extract. To get the links I've easily used modified code from weblinks.r. I
also want to get the contents of the td tag such that I can store all the
links and content in a tab delimited file such as:

link1    contains useful REBOL links    http://www.rebol.com
link2    contains useful PERL links        http://www.perl.com

This should be quite simple to do and is using other languages, but the
description of parse in the documentation is vague.

Also, I want to be able to concatenate strings to assemble a url. Again,
this should be quite simple to do. I've encountered problems doing this with
REBOL using rejoin.

Thanks for your help,

Cheryl

Reply via email to