My forays into binding OCaml to Ruby have failed and I'm thinking
about going all OCaml.
Assuming that I'm running naked nethttpd as my web server, how should
I implement logging of HTTP requests to disk (a-la Apache)? Is this
something that exists somewhere?
Also, what XML package for OCaml is the easiest for publishing RSS
and parsing XHTML?
I looked at several possible options this week. On the one hand, Alex
Baretta graciously provided me with source code for AS/XCaml which I
found overwhelmingly complex and I totally dislike how OCaml code is
embedded in Ocsigen's templates. On the other hand, I managed to get
mod_caml up and running and compile ocamlnet.
I'm thinking of pairing Bruno De Fraine's "Toy implementation of
Zope's TAL"  with nethttpd and running my site on that. As an
alternative, I may be able to plug Bruno's templates into mod_caml or
I'm looking for advice here.
Thanks in advance, Joel
Caml-list mailing list. Subscription management:
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
I'd go for separate programs with message communication.
> Assuming that I'm running naked nethttpd as my web server, how should
> I implement logging of HTTP requests to disk (a-la Apache)? Is this
> something that exists somewhere?
I believe there are bindings for things like log4 but I can't remember where.
> Also, what XML package for OCaml is the easiest for publishing RSS
> and parsing XHTML?
I've only ever used XML-Light. It is great when it works but it doesn't handle
things like incremental parsing and whitespace. I believe Gerd's XML
libraries are more compliant but harder to use.
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists
COCANWIKI (very recent versions) use OCamlRSS and xml-light.