- From: Mark Wormgoor <riddles@cistron.nl>
- Date: Thu, 25 Nov 1999 10:04:51 +0100
- To: <www-lib@w3.org>
- Message-ID: <005c01bf3724$22b48730$fd0c340a@ao.nl.abnamro.com>
Hi,
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=
19c
'../grafx/nw_letter_nieuws.gif'
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
test.c
Kind regards,
Mark Wormgoor
Attachments
- application/octet-stream attachment: test.c
Received on Thursday, 25 November 1999 04:06:32 UTC