I'll probably put my current versions of these out soon.

These are:
1. nsmassvh - which uses Ns_SetUrlToFileProc(), and is quite stable &
ready to use :)

2. my current ns2x - which is the xslt interface and a handler to
use ADP (a bit quick-hack for now :) to read XML+XSLT files and convert
them to HTML. a real mess for now, but I'm planning on rewriting parts of
it.

I'll do it this weekend ... probably :>

But the ns2x is a real mess for now - I was thinking of merging it with
ns_xml since the author is probably switching to Java.

Maybe someone here is interested in writing XML/XSLT module for
AOLserver? :)

--
Wojtek Kocjan
[EMAIL PROTECTED]


On Thu, 14 Jun 2001, Yon Derek wrote:

> Could you share the libxslt interface code? Post it somewhere on the
> web, for example.
>
> Thanks,
>
>
> > -----Original Message-----
> > From: AOLserver Discussion
> > [mailto:[EMAIL PROTECTED]] On Behalf Of Wojciech Kocjan
> > Sent: Thursday, June 14, 2001 1:38 PM
> > To: [EMAIL PROTECTED]
> > Subject: [AOLSERVER] several questions - mostly C API
> >
> >
> > Hi there.
> >
> > I've been working on AOLserver for about a month and I got to like it.
> >
> > I wrote a small hack to allow name-based vhosting and now I'm
> > writing a module to do html=(xml+adp)+(xslt+adp).
> >
> > Here are my questions:
> >
> > 1. Can I use Ns_TclGetConn(NULL) in a function which is set
> > to handle url2file? - I did
> > Ns_SetUrlToFileProc(hServer,myProc) and myProc gets Ns_Conn
> > from Ns_TclGetConn(). Is that possible to do? I know that it
> > works on 3.4 for me... And no mistakes on heavy loads... (I
> > combined it with ns_mutex + nsv_* to check if it it's thread-safe :).
> >
> > 2. I'm using libxml2+libxslt and there's a function
> > xmlSetGenericErrorFunc(). I want my XML/XSLT parsing errors
> > to be printed out on output.
> >
> > I suppose I could create a hashtable+Ns_Mutex, create a
> > structure, connect it (by the hashtable) with Ns_Conn. But it
> > seems a bit inefficient to me...
> >
> > Any other way to store data connected with Ns_Conn.
> >
> > I probably want to store a DString and an int to check the
> > number of errors (mostly if any occured :) and print out the
> > errors using Ns_QuoteHtml()...
> >
> > Any ideas on how to write that?
> >
> > 3. Does anyone here (mostly from Poland I guess :-) knows
> > why/how www.onet.pl is using AOLserver? - AFAIR they're not
> > using Tcl at all...
> >
> > --
> > Wojtek Kocjan
> > [EMAIL PROTECTED]
> >
>

Reply via email to