Re: Finding out when a Web page has changed
| From: | lallous | Date: | Thu, 26 Sep 2002 12:44:27 +0000 |
| Subject: | Re: Finding out when a Web page has changed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117698@lists.php.net to get a copy of this message | ||
I was about to tell you to use Last-Modified Header! ;)
Well then...try to fetch the page's size and compare with last time, if
changes then regrab the page.
Elias,
"Vikram Vaswani" <vikram@w-o-i.com> wrote in message
news:3.0.5.32.20020926160348.008ca100@bom5.vsnl.net.in...
> Hi all,
>
> I need to write an application that accepts a list of URLs and checks them
> on a daily basis (via cron) to see if the pages have changed in the past
day.
>
> I need some help with this. Does anyone know the most optimal way to find
> out when a particular Web page has been modified? I am thinking about
using
> the Last-Modified: HTTP header - however, all servers do not return this
> header - any ideas on what the fallback should be?
>
> TIA,
>
> Vikram
> --
> "I find your lack of faith disturbing."
> --Darth Vader