caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: Oliver Bandel <oliver@first.in-berlin.de>
Cc: Gerd Stolpmann <info@gerd-stolpmann.de>, caml-list@inria.fr
Subject: Re: [Caml-list] Ocaml-Weblib?
Date: Sat, 24 Aug 2002 15:39:30 +0200	[thread overview]
Message-ID: <20020824133930.GC873@ice.gerd-stolpmann.de> (raw)
In-Reply-To: <Pine.LNX.3.95.1020824013727.1912A-100000@first.in-berlin.de>; from oliver@first.in-berlin.de on Sam, Aug 24, 2002 at 01:38:49 +0200


Am 2002.08.24 01:38 schrieb(en) Oliver Bandel:
> Hello Gerd,
> 
> 
> On Thu, 22 Aug 2002, Gerd Stolpmann wrote:
> 
> > 
> > Am 2002.08.21 20:49 schrieb(en) Oliver Bandel:
> > > Hello,
> > > 
> > > is there a Library for parsing/analysing Webpages?
> > > 
> > > I want to write a tool, that helps me searching
> > > on websites, and I don't want to rewrite such a library from scratch.
> > > 
> > > Is there something for Ocaml, similar (or even better :))
> > > like Web-/CGI-Libs for Perl?
> > 
> > You may have a look at ocamlnet, http://sourceforge.net/projects/ocamlnet.
> > It includes an HTML parser, and CGI support. For HTTP operations, netclient
> > http://www.ocaml-programming.de/programming/netclient.html may be helpful.
> 
> Well I think it is designed to be used under bigger
> programming environments (gtk is necessary).
> 
> Isn't there a lib, which does not require such GUI-stuff like
> gtk?
> Isn't there a pure lib for handling the networkstuff?

This is wrong. Neither ocamlnet nor netclient require gtk. (I really wonder
where you have found this; there is no published piece of code from me that
uses gtk.)

Of course, these libraries have requirements, mostly because of coding 
economy. I try to avoid to program functions twice, or to distribute the
same function twice under different names. (Nevertheless this happens, e.g.
there are parsers for mail (RFC822) messages in both ocamlnet and netclient.)
You are right that "bigger programming environments" profit more from this
approach, because code is shared. It makes it also simpler for me, the author,
because I need to maintain smaller amounts of code.

In particular, ocamlnet needs PCRE, and netclient needs (besides ocamlnet) 
equeue, and optionally xstr (for multi-threaded apps). A quite short 
dependency chain, IMHO. It might be possible that netclient and equeue are 
integrated into ocamlnet in the future, but a lot of consolidation is needed
first.

Gerd
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
------------------------------------------------------------
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-08-24 13:39 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-21 18:49 Oliver Bandel
2002-08-22  0:28 ` Gerd Stolpmann
2002-08-23 23:38   ` Oliver Bandel
2002-08-24 13:39     ` Gerd Stolpmann [this message]
2002-08-25 19:30       ` Oliver Bandel
2002-08-25 19:55       ` Oliver Bandel
2002-08-25 21:06         ` Alain Frisch
2002-08-25 21:33           ` Oliver Bandel
2002-08-25 23:37             ` Stefano Zacchiroli
2002-08-30 16:16               ` Oliver Bandel
2002-08-30 20:01                 ` Stefano Zacchiroli
2002-09-01 16:45                 ` Oliver Bandel
2002-09-02  7:22                   ` Stefano Zacchiroli
2002-09-02 10:47                     ` Oliver Bandel
2002-09-02 12:54                       ` Stefano Zacchiroli
2002-09-02 22:15                       ` Gerd Stolpmann
2002-09-02 23:24                         ` Oliver Bandel
2002-09-03  0:44                           ` Gerd Stolpmann
2002-09-03 11:21                             ` Oliver Bandel
2002-08-25 21:45           ` Gerd Stolpmann
2002-08-25 21:47         ` Gerd Stolpmann
2002-08-24 10:46   ` Dmitry Bely
2002-08-30 16:45     ` Alan Schmitt
2002-08-30 21:33       ` Oliver Bandel
2002-08-31  6:13         ` [Caml-list] Ocaml-Weblib? Michaël Grünewald
2002-08-31  8:16         ` [Caml-list] Ocaml-Weblib? Alan Schmitt
2002-09-05 20:13       ` Dmitry Bely
2002-09-06  5:02         ` Alan Schmitt
2002-09-06 17:32           ` Dmitry Bely
2002-09-07  9:37             ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020824133930.GC873@ice.gerd-stolpmann.de \
    --to=info@gerd-stolpmann.de \
    --cc=caml-list@inria.fr \
    --cc=oliver@first.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).