caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oliver Bandel <oliver@first.in-berlin.de>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: Caml list <caml-list@inria.fr>
Subject: Re: [Caml-list] Ocaml-Weblib?
Date: Tue, 3 Sep 2002 01:24:23 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.LNX.3.95.1020903011208.2548B-100000@first.in-berlin.de> (raw)
In-Reply-To: <20020902221540.GA818@ice.gerd-stolpmann.de>

On Tue, 3 Sep 2002, Gerd Stolpmann wrote:

[...]
> No, I have not yet found the time to do it. There are some aspects
> that cannot be explained in mli files well enough, and a tutorial
> would be a great thing. E.g. why ocamlnet has an object-oriented
> layer on top of channels (netchannels). You find them everywhere,
> but no introduction.
> 
> There is an "examples" directory containing some very simple, and
> some advanced examples, especially for CGI programming.

Yes, I have seen it.
The simple CGI-example is very nice. :)
Looks like easy programming. :)
The advanced examples are a littlebid too large for
Ocaml-and-ocamlnet-beginners. ;-)

I first asked, because I want to write two different
tools:

first one: a wget-like tool, which can parse the html-pages
(if possible, this f..... javascript-stuff too) and
can download not only recursively, but can also
select the pages for download e.g. by pattern-matching
on href-tags (url or text of the link) or by selection
of filesizes or so.

And the second tool I wanted to write was a similar tool
for nntp-protocol: Download by attributes (size, date,
MsgID, Subject, author, thread-length, ...).
(I once wrote such stuff (not completed) in Perl
 and after the program grew more and more, it
 becomes more and more a mess...).


So I need access to sockets, some low-level stuff
(Unix.read) and such, or a good library, which helps
here. I need a library, which can parse me the
html-pages and maybe nntp-headers, and I want only
to implement the logic of the tool, and let the
network stuff programming be the work, that the
lib can do.

And I hope the ocamlnet/netstring can help here.
But if it will be more effort to understand the library
than writing the networking-code by myself, then
I will write the sockets-stuff by myself.

That's all about it.

Ciao,
   Oliver

P.S.: Don't forget: I'm not Ocaml-user since years...
      ...since some months - and ONLY IF I HAD SOME
      TIME - could do some Ocaml-programming. So a
      documentation/tutorial would help a lot.

P.P.S.: IMHO OCaml is a very complex language.


-------------------
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-09-02 23:30 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
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 [this message]
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=Pine.LNX.3.95.1020903011208.2548B-100000@first.in-berlin.de \
    --to=oliver@first.in-berlin.de \
    --cc=caml-list@inria.fr \
    --cc=info@gerd-stolpmann.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).