[Prev][Next][Index][Thread]
Just The Page, Please
-
To: www-lib@w3.org
-
Subject: Just The Page, Please
-
From: guthery@austin.sar.slb.com
-
Date: Mon, 11 Dec 95 15:05:07 CST
-
From guthery@austin.sar.slb.com Mon Dec 11 16: 05:59 1995
-
Message-Id: <9512112105.AA15699@asterix>
I'd like libwww to just get a page and dump it to stdout *UNTOUCHED*.
Why doesn't the following do this?
HTLibInit("Dump", "0.0);
HTProtocol_add("http", YES, HTLoadHTTP, NULL);
HTRequest_setOutputStream (request, output);
if ((ref = HTParse(argv[1], "", PARSE_ALL)) &&
(anchor = (HTParentAnchor *) HTAnchor_findAddress(ref)) &&
HTLoadAnchor((HTAnchor *)anchor, request))
{ printf ("\n");
exit (0);
}
else
{ exit (1); }
Thanks, Scott