W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 2001

Re: XML content filtering?

From: Yves Lafon <ylafon@w3.org>
Date: Mon, 16 Jul 2001 13:28:24 +0200 (MET DST)
To: "Harry J. Foxwell" <hfoxwell@cs.gmu.edu>
cc: <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.33.0107161321270.18717-100000@tarantula.inria.fr>
On Fri, 6 Jul 2001, Harry J. Foxwell wrote:

>
> I'm experimenting with programmable proxies that
> allow me to react to XML-tagged content, adding or modifying
> the content before it's rendered by the browser.  Is anyone
> doing something similar with Jigsaw??  I'm currently working
> with IBM's WBI (at http://www.almaden.ibm.com/cs/wbi/index.html ).

Jigsaw has a built-in API to do this kind of thing, it allows filtering
during lookup, before the processing and after the processing of the
request.

Also, the client stack has its own filter (ingoing, outgoing like the
"normal" server-side filters, and an exception filter. The later being
mainly used to do fallbacks).

See:
http://www.w3.org/Jigsaw/Doc/Programmer/design.html#lookup-algo
http://www.w3.org/Jigsaw/Doc/Programmer/design.html#ingoing
http://www.w3.org/Jigsaw/Doc/Programmer/writing-filters.html
http://www.w3.org/Jigsaw/Doc/Reference/Overview.html

And an example of client-side filter:
org.w3c.www.protocol.http.proxy.ProxyDispatcher,
http://www.w3.org/Jigsaw/Doc/Reference/org.w3c.www.protocol.http.proxy.ProxyDispatcher.html
With that, it should be "easy" to plug something to react to XML content.
Regards,

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Monday, 16 July 2001 07:28:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:35 GMT