logo       

Re: Building the equivalent of wget in Squeak: msg#00202

lang.smalltalk.squeak.beginners

Subject: Re: Building the equivalent of wget in Squeak


Brilliant, that is just what I was looking for. I just hadn't been looking in the right places.

Thanks very much.

<<You can use something like

                (HTTPClient httpGet: 'www.google.com') contents

to get the text of a web page. Just using

                HTTPClient httpGet: 'www.google.com'

gives you a "stream" over the page's text.

You can browse HTTPClient's class side to see how the method works  
and start digging deeper.

Hope this helps,
Benjamin Schroeder>>
_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise