caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques du Preez <jacquesdpz@gmail.com>
To: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml HTML parsing & manipulation
Date: Mon, 11 Aug 2014 08:57:46 +0200	[thread overview]
Message-ID: <CAMBKu=cBTofJscPZ=cZnA2wvSnczJYN_S0P-0n6zY+8Kt0tb5A@mail.gmail.com> (raw)
In-Reply-To: <20140810.224256.1353397051109538039.Christophe.Troestler@umons.ac.be>

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

Thanks. I eventually discovered ocamlnet, but I'm hoping there's maybe more
than 1 option?

==============================
Jacques du Preez

Web: OpenLandscape.net
Twitter: @jacquesdp


On Sun, Aug 10, 2014 at 10:42 PM, Christophe Troestler <
Christophe.Troestler@umons.ac.be> wrote:

> Hi,
>
> On Sun, 10 Aug 2014 19:38:39 +0200, Jacques du Preez wrote:
> >
> > I've been searching for an OCaml library to parse HTML, and then be able
> to
> > query and manipulate it similar to jQuery.
> >
> > The JSoup Java library, http://jsoup.org, allows me to do this. Is there
> > something like this for OCaml?
>
> Nethtml in ocamlnet partly does what you need (you can easily write
> recursive functions to extract the desired data from the HTML tree).
>
> Best,
> C.
>

[-- Attachment #2: Type: text/html, Size: 1244 bytes --]

  parent reply	other threads:[~2014-08-11  6:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-10 17:38 Jacques du Preez
     [not found] ` <20140810.224256.1353397051109538039.Christophe.Troestler@umons.ac.be>
2014-08-11  6:57   ` Jacques du Preez [this message]
2014-08-12  9:48     ` Paolo Donadeo
2014-08-24 21:54     ` Andrew Herron

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='CAMBKu=cBTofJscPZ=cZnA2wvSnczJYN_S0P-0n6zY+8Kt0tb5A@mail.gmail.com' \
    --to=jacquesdpz@gmail.com \
    --cc=caml-list@inria.fr \
    /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).