Tavis Rudd wrote:
> 
> On May 15, 2002 02:17 pm, Bill Eldridge wrote:
> > Sam Brauer wrote:
> > > Writing a plugin is a possibility.
> > > Like you say, the big drawback I see to this is the extra work involved
> > > learning how to implement a plugin.
> >
> > Hacking an existing plugin should be easier
> > than "learning how to implement a plugin".
> >
> > You might be able to add to the webkit_handlers
> > similar to the PSP handler, make an XML handler
> > in mod_webkit....?
> 
> You can do that by creating a 'ServletFactory' and then loading it into
> WebKit's Application class at startup.  mod_webkit doesn't have much to do
> with it.
> 
> Tavis

I was referring to the stuff in mod_webkit.c:

static int psp_handler(request_rec *r) {

    ap_table_add(r->subprocess_env, "WK_ABSOLUTE","1");

    return content_handler(r);
}
static const handler_rec webkit_handlers[] =
{
    {"webkit-handler", content_handler},
    {"psp-handler",psp_handler},
    {NULL}
};

thinking that that could be used to point
to a new handler for .xml files, using that
handler to rewrite path and other environment
information.
-- 
Bill Eldridge
Radio Free Asia
[EMAIL PROTECTED]

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to