Ingo,
Actually, strange enough, all of my pages have exactly one code
block. However, thank you for the code solution you sent me, I'll
file it for the time when I will need multi-block capabilities,
not to mention that I learn Rebol protocol just by studying it.
:-)
Thank you, it helps,
Chuck Heffner
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> Hi Chuck,
>
> I assume your pages have more than the code-block in them,
> then you'd need something like:
>
> repeat x 10 [
> page: read join %page [x %.html]
> parse page [to "<!-- begin content -->" copy code thru "<!--end content -->"
>to end]
> write/append %allpages.html code
> ]
>
> this would extract the comments, too. If you don't want them,
> just exchange to and thru.
>
> hope this helps,
>
> Ingo