Jim-

> Depending on the source, for most HTML pages an extraction function should
> look for unmatched tags and tags that appear between comment tags (thus not
> part of the visible page)


> Unmatched tags can be detected by:

> [1] if the start tag is in any of the extracted segments
> [2] if the end tag is in the 'pRawText' after extraction

> Hope this adds to the thread

Thanks. In my case, the error condition is met by returning an empty
string, but yes, in a more rigorous case the error checking would
indeed be useful. And I like the conciseness of your matchChunk
implementation.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to