I wasn't aware of HTML::TagFilter. Like I say in the description, I wasn't satisfied with HTML::Sanitizer, so I wrote HTML::Scrubber.
HTML::Scrubber and HTML::TagFilter appear to attack the exact same problem with nearly the same interface.The same could be said of HTML::Sanitizer.
Looking at TagFilter's TO DO, I already have tests and do the HTML::Parser level optimization he talks about (he's welcomed to borrow those bits if he can).
I don't intend to expand HTML::Scrubber beyond the interface you see now (like he does). I like my simple interface.
HTML::Scrubber is never going to do any rule based translations (like changing all font tags with size=2 to span class=bar, or whatever).
++Hero Zzyzzx, it's nice to see others play merlyn ;D
|
MJD says you can't just make shit up and expect the computer to know what you mean, retardo! I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests. ** The Third rule of perl club is a statement of fact: pod is sexy. |
In reply to Re: Re: HTML::Scrubber - Perl extension for scrubbing/sanitizing html
by PodMaster
in thread HTML::Scrubber - Perl extension for scrubbing/sanitizing html
by PodMaster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |