W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

Problems with RAW GET

From: Mark Wormgoor <riddles@cistron.nl>
Date: Thu, 25 Nov 1999 10:04:51 +0100
Message-ID: <005c01bf3724$22b48730$fd0c340a@ao.nl.abnamro.com>
To: <www-lib@w3.org>

Using libwww I am trying to write a small application that will fetch
newsheaders from sites like slashdot and such.  For this reason I'm using a
raw get of the page (slashdot and freshmeat use xml).  The platform is
Redhat 6.0 with libwww 5.2.8.  I'v attached test-source to the program.

The problem is this.  When I try to fetch the URL in the sourcecode (a
Dutch newssite), it contains strange characters in the middle of the raw
output, for example:
<img src=
When I download the same page in Netscape, it prints:
<img src='../grafx/nw_letter_nieuws.gif'
which is the correct code.  Every time I download the page, these things
appear at the same place.  When the page changes, I get different
characters at different locations.

If somebody knows what's causing this, I would really like to know.
BTW, I compile this using:
gcc -O6 `libwww-config --cflags` -Wall `libwww-config --libs` -o test

Kind regards,

                Mark Wormgoor

Received on Thursday, 25 November 1999 04:06:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC