Sack <a href="https://github.com/pereckerdal/sack" target="_blank">https://github.com/pereckerdal/sack</a> provides a very nice HTTP client library. For credits and license see source files.<br><br>It's written atop BH, and can easily be exploded out to be run atop load/include.<br>


<br>There is one or two updates to the HTTP client functionality in the attached version that are not committed to the github repo yet. To our knowledge it works perfectly. Currently non-HTTP compliant server response may cause an internal exception.<br>


<br>Thanks,<br>Mikael<br><br><div class="gmail_quote">2011/9/12 Alex Queiroz <span dir="ltr"><<a href="mailto:asandroq@gmail.com" target="_blank">asandroq@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hallo,<br>
<div><div></div><div><br>
On Fri, Sep 9, 2011 at 6:28 PM, Steve Graham <<a href="mailto:jsgrahamus@yahoo.com" target="_blank">jsgrahamus@yahoo.com</a>> wrote:<br>
> Although I have programmed for decades, I am new to Scheme/Gambit.  I<br>
> thought that I would use a project I've been contemplating as a help in<br>
> learning the language.<br>
> There is a website of scriptures which I wish to download.  Some of the<br>
> webpages, of course, are indices into books and then chapters.  So I would<br>
> need to follow the links until I got to the actual text, which I would then<br>
> file into a database by volume, book, chapter and verse.<br>
> I would appreciate any hints as to how to do this.  I'm thinking I would<br>
> need some help with downloading web pages, stripping HTML and saving to a<br>
> database.<br>
<br>
</div></div>For downloading the page Gambit already gives you TCP sockets but you<br>
would have to write the code for HTTP GET, which is not complex. For<br>
parsing the HTML you will need SSAX[1], there is a "package" for it in<br>
the Dumping Grounds[2]. Also in the Dumping Grounds you will find<br>
several database interfaces.<br>
<br>
[1] - <a href="http://ssax.sourceforge.net/" target="_blank">http://ssax.sourceforge.net/</a><br>
[2] - <a href="http://dynamo.iro.umontreal.ca/%7Egambit/wiki/index.php/Dumping_Grounds" target="_blank">http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Dumping_Grounds</a><br>
<br>
Cheers,<br>
<font color="#888888">--<br>
-alex<br>
<a href="http://www.artisancoder.com/" target="_blank">http://www.artisancoder.com/</a><br>
</font><div><div></div><div>_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca" target="_blank">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</div></div></blockquote></div><br>