Re: Getting the contents of a web page

Edi Weitz <[email protected]> 06 Apr 2003 11:20:16 +0200
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
Chris Double <[email protected]> writes:

> On Sun, 06 Apr 2003 09:27, JP Massar wrote:
> > Is there the equivalent of the Allegro function
> >
> > WEB-PAGE-CONTENTS <url>
> >
> > which returns the page source as a string
> >
> > somewhere buried in Corman or its modules?
> 
> I use Portable AllegroServe for this, in particular the
> NET.ASERVE.CLIENT package:
> 
>   (do-http-request "http://www.cormanlisp.com/")

Works fine with the 1.2.12c release. However, with the current CVS
version I get errors like

  * (NET.ASERVE.CLIENT:DO-HTTP-REQUEST "http://www.cormanlisp.com/")


  Type-error in KERNEL::OBJECT-NOT-BASE-CHAR-ERROR-HANDLER:
     468 is not of type BASE-CHAR

in CMUCL as well as in LW.

Edi.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/W7NydA/hdqFAA/VygGAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/