Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: HTML::Scrubber - Perl extension for scrubbing/sanitizing html

by PodMaster (Abbot)
on Apr 18, 2003 at 14:40 UTC ( [id://251452]=note: print w/replies, xml ) Need Help??


in reply to Re: HTML::Scrubber - Perl extension for scrubbing/sanitizing html
in thread HTML::Scrubber - Perl extension for scrubbing/sanitizing html

Everything ;D

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.

Replies are listed 'Best First'.
Re: Re: Re: HTML::Scrubber - Perl extension for scrubbing/sanitizing html
by Anonymous Monk on Apr 19, 2003 at 00:58 UTC

    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).

    Great, instead of inventing yet another wheel, why not send him the tests and patch implementing those features?

      Depending on the perspective of the viewer, perfectly round wheels can look like a warped eliptical wheels, or a flat sticks, or maybe they aren't even visible to the person.

      In situations like that -- where the wheels that have allready been invented don't look quite right -- there's nothing wrong with hammering out your own, if you see fit.

      I don't think so. That would require that I get too intimate with his sourcecode. I'm just not interested (my wheel is complete). Why don't you do it?


      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://251452]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found