[18916] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] Summary :Reading an ASCII file from a web site

daemon@ATHENA.MIT.EDU (Spyros Vrontos)
Wed Aug 11 08:57:35 1999

Message-Id: <3.0.3.32.19990811154312.0075b698@stat-athens.aueb.gr>
Date: Wed, 11 Aug 1999 15:43:12 +0300
To: s-news@wubios.wustl.edu
From: Spyros Vrontos <svrontos@stat-athens.stats.aueb.gr>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"


Bill Dunlap suggested the following solution, using perl 5.

>>   urlGet <- function(url)
>> >{
>> >        unix(paste("/sw/local/perl5/bin/GET", url))
>> >}
>> >

Barry Rowlingson suggested the following solution that uses slynx that is
supplied
with Splus5:

>
> urlget <- function(url)
>{
>	unix(paste("$SHOME/cmd/slynx -dump -cfg $SHOME/cmd/lynx.cfg", url))
>}
>
> Note that this doesn't get the HTML like Bill's GET solution, but
>returns a plain text formatted version of the page. It also has the
advantage of
>not needing perl, but you should get perl anyway!  


Many thanks to both of them

Spyros.


-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

home help back first fref pref prev next nref lref last post