Hey folks,
Moez and I (mostly Moez! ;-) have been discussing implementation of
content filtering via ACL, specifically, HTML tag based filtering. I
think Moez is actually beginning the final steps to get this into an
ACL. And here's what we're thinking about doing for modifying tags in HTML:
acl myurlfilter filter_href www.foo.com
With the other part of the feature being:
filter myurlfilter rewrite www.bar.com
Obviously the goal is to continue to evolve it to be more generic, and
include all of the various tag types (for example, the ability to strip
javascript, gif anim bits, etc.). But for the time being, the
functionality I need is the ability to modify a URL inline.
I welcome further comments, because I'm a little vague on how best to
present this kind of functionality in a generic way that still makes
sense to a human. The above really only works for a very few types of
modification...but it does work for the very generic "filter_regex"
type, which is nice. I.e.:
acl myregexfilter filter_regex naughtyword
filter myregexfilter rewrite bleep
To bleep out naughtywords...
or
filter myregexfilter deny
To simply erase them...
or
filter myregexfilter highlight
To highlight them, ala the Deja or Google search (when viewing the
cached version which highlights the query terms).
etc.... Just some thoughts.
Robert, in particular, I imagine you must have done some thinking on
this very subject. How do you want to see your filters come into being
an ACL?
Thanks.
--
Joe Cooper <joe@swelltech.com>
Affordable Web Caching Proxy Appliances
http://www.swelltech.com
Received on Mon Jan 29 2001 - 04:29:31 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:26 MST