Re: RFC: HTML::?Filter ... suggest a name for the beast
by Gavin (Archbishop) on May 01, 2006 at 13:13 UTC
|
You said it yourself!!
HTML::TagFilter::Simple | [reply] [Watch: Dir/Any] |
|
That sounds as if it depended on or belonged to the HTML::TagFilter. I would not want to stomp on someone elses namespace. So maybe rather "HTML::SimpleTagFilter".
I'd rather if we could find a way to communicate that the module is controled by a string containing the allowed tags&attribs instead of from within the code.</P
| [reply] [Watch: Dir/Any] |
|
Foo::Bar::Simple (or Foo::Bar::Lite) is often written by someone other than the author of Foo::Bar. This is a common practice and well accepted by the community. If you have any concerns, ask modules@perl.org and they'll help out.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
| [reply] [Watch: Dir/Any] |
|
|
|
Maybe something in the way your module's working can give someone an idea? What about posting the POD of the module here, to see it it lights a bulb somewhere?
| [reply] [Watch: Dir/Any] |
|
|
Re: RFC: HTML::?Filter ... suggest a name for the beast
by eric256 (Parson) on May 01, 2006 at 21:44 UTC
|
| [reply] [Watch: Dir/Any] |
Re: RFC: HTML::?Filter ... suggest a name for the beast
by BrowserUk (Patriarch) on May 01, 2006 at 22:05 UTC
|
| [reply] [Watch: Dir/Any] [d/l] |
Re: RFC: HTML::?Filter ... suggest a name for the beast
by GrandFather (Saint) on May 02, 2006 at 03:27 UTC
|
| [reply] [Watch: Dir/Any] |
Re: RFC: HTML::?Filter ... suggest a name for the beast
by sh1tn (Priest) on May 02, 2006 at 03:24 UTC
|
s/::Filter/::Cleaner/ ? or maybe Remover
| [reply] [Watch: Dir/Any] [d/l] |
Re: RFC: HTML::?Filter ... suggest a name for the beast
by PodMaster (Abbot) on May 02, 2006 at 00:55 UTC
|
I say you keep calling it HTML::JFilter.
update: or maybe HTML::FilterJ, or HTML::Filterer :)
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.6.x and 5.8.x -- I take requests (README). | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] [Watch: Dir/Any] |
Re: RFC: HTML::?Filter ... suggest a name for the beast
by radiantmatrix (Parson) on May 03, 2006 at 18:28 UTC
|
Suggestions, I've got in spades:
HTML::Tag::*
- ::Filter (might be confusing)
- ::Cleaner (cleans tags? maybe not...)
- ::Remove (removes tags... accurate!)
- ::Sieve (keeps some tags, removes others, like a filter in a way)
- ::Restrict (restricts HTML to allowed tags)
- ::Replace (replaces Tags with other data)
I've bolded my two favorites. Those are my suggestions. The jury is out on whether they are good suggestions, but you did say that any suggestions were welcome. ;-)
| [reply] [Watch: Dir/Any] |
Re: RFC: HTML::?Filter ... suggest a name for the beast
by chanio (Priest) on May 04, 2006 at 03:56 UTC
|
I would propose:
HTML::Intersection
I refer to the tags that the user is asking to leave from all the group of tags that form part of the html page in question. It is like a mathematical intersection...
| [reply] [Watch: Dir/Any] |
Re: RFC: HTML::?Filter ... suggest a name for the beast
by sgt (Deacon) on May 04, 2006 at 21:43 UTC
|
| [reply] [Watch: Dir/Any] |
Re: RFC: HTML::?Filter ... suggest a name for the beast
by astroboy (Chaplain) on May 12, 2006 at 05:11 UTC
|
If I read you module description correctly, HTML::TagFilter isn't the only module that filters tags and attributes. HTML::Scrubber and HTML::Santiser both do this | [reply] [Watch: Dir/Any] |
A reply falls below the community's threshold of quality. You may see it by logging in. |