content-length header keeps changing

Hi,

I'm trying to use LWP to set up a utility to check for updates to a
series of webpages. I'm checking the content-length header and comparing
it to a cache file. Problem is, every time I check the page, even if
it's just a few seconds apart, the content-length is slightly different.
There's no rotating banners or anything, so I can't quite figure this
out. Here's the page:

http://www.ucwv.edu/about_uc/employment.aspx

Any ideas?

sp

--
This sig property of the Soviet Union
Steven Daedelus [ So, 15 Mai 2005 20:48 ] [ ID #794110 ]

Re: content-length header keeps changing

Steven Daedelus wrote:
> I'm trying to use LWP to set up a utility to check for updates to a
> series of webpages. I'm checking the content-length header and
> comparing it to a cache file. Problem is, every time I check the
> page, even if it's just a few seconds apart, the content-length is
> slightly different. There's no rotating banners or anything, so I
> can't quite figure this out. Here's the page:
>
> http://www.ucwv.edu/about_uc/employment.aspx
>
> Any ideas?
>

The images on the top and the left are changing when you refresh the page,
which probably changes the code of the page somewhat.

Anyways, the content length appears to be stable when you use the text mode:

http://www.ucwv.edu/about_uc/employment.aspx?viewmode=texton ly


JW
Janwillem Borleffs [ Mo, 16 Mai 2005 01:22 ] [ ID #795571 ]

Re: content-length header keeps changing

In article <4287d9bc$0$45350$dbd45001 [at] news.euronet.nl>,
"Janwillem Borleffs" <jw [at] jwscripts.com> wrote:

> Steven Daedelus wrote:
> > I'm trying to use LWP to set up a utility to check for updates to a
> > series of webpages. I'm checking the content-length header and
> > comparing it to a cache file. Problem is, every time I check the
> > page, even if it's just a few seconds apart, the content-length is
> > slightly different. There's no rotating banners or anything, so I
> > can't quite figure this out. Here's the page:
> >
> > http://www.ucwv.edu/about_uc/employment.aspx
> >
> > Any ideas?
> >
>
> The images on the top and the left are changing when you refresh the page,
> which probably changes the code of the page somewhat.

Good point.

> Anyways, the content length appears to be stable when you use the text mode:
>
> http://www.ucwv.edu/about_uc/employment.aspx?viewmode=texton ly

Also a good point. Thanks.

sp

--
This sig property of the Soviet Union
Steven Daedelus [ Mo, 16 Mai 2005 01:32 ] [ ID #795572 ]
Perl » alt.perl » content-length header keeps changing

Vorheriges Thema: Re: Net::SMTP error: Can't locate Mail/Sender.pm in @INC
Nächstes Thema: LWP::UserAgent