I'm passing to the parser the result gleaned from using Text::Context::EitherSide().

I am unable to pass the entire document toe the parser anyway. The files I am working with can be 60 MB in size and larger. My system freezes up and crashes.

-- Craig

Gisle Aas wrote:
Craig Cardimon <[EMAIL PROTECTED]> writes:


I'm using HTML::TokeParser to remove HTML. This functions very well
when tags are contained on one line.

What happens when you're reading a file line by line, and the HTML tag
is split between lines? The HTML I'm dealing with is sometimes broken
up. For instance, I'll get lines beginning with "size=2>" which is the
end of a tag that began on the previous line.

Any suggestions or recommendation on cleaning up -- as in removing -- this kind of "broken" HTML?


If you give HTML::TokeParser the whole document to work on it should
not have any problems with tags that span lines.  How do you pass the
HTML document to the parser?

Regards,
Gisle


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0536-1, 09/06/2005
Tested on: 9/6/2005 12:18:23 PM
avast! - copyright (c) 1988-2004 ALWIL Software.
http://www.avast.com



_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to