Of course you want to be polite about this since hitting somebody's web page every few 
seconds is going to get them ticked off so....

You can run the shell script as recommended by Ken, but run it from inside a cron that 
runs 1 or 2 times per day.

You could also write a Perl script that just checks headers to see last time the .html 
file was changed. This assumes you're looking at a static page and not a dynamically 
generated one.

Either way you can end up with problems:
  - static pages with dynamic elements you don't care about (time/weather).
  - dynamically generated pages that are always 'new' but never changed
  - static pages with dynamic componenets about which you do care.

Frames will cause you a headache as well since what you'll see is the surrounding 
frame and not any of the insets (you can find those with Perl, but I'm just learning 
how).

Ray

At 12:00 PM -0500 3/7/01, Kenneth E. Lussier wrote:
>Bob,
>
>This can be easily done with a short shell script that takes a copy of
>the original page, and diff's it against the current page. If it is
>different, it e-mails you, makes a copy of the changed page, then runs
>the diff against that page. If you want to do it remotely, you set it up
>to telnet to port 80, do an HTTP GET, then diff the output against a
>known good copy.
>
>FYI,
>Kenny
>
>[EMAIL PROTECTED] wrote:
>>
>> People,
>>
>> This may have a non-Linux answer, but here goes.
>> I want to monitor some web pages for changes,
>> and be notified when a specified page changes.
>> Are there any notification services on the web,
>> or packages I can add to my Linux box, to email
>> beep, etc. when the page has been updated?
>> Of course, I would love to recommend a Linux
>> solution.
>>
>> Bob Sparks
>> Never attribute to malice, that which can be explained by stupidity.
>> Never attribute to stupidity, that which can be explained by lack of
>> information.
>>
>> **********************************************************
>> To unsubscribe from this list, send mail to
>> [EMAIL PROTECTED] with the following text in the
>> *body* (*not* the subject line) of the letter:
>> unsubscribe gnhlug
>> **********************************************************
>
>**********************************************************
>To unsubscribe from this list, send mail to
>[EMAIL PROTECTED] with the following text in the
>*body* (*not* the subject line) of the letter:
>unsubscribe gnhlug
>**********************************************************

-- 
-------------------------------------------------------------------
Raymond Cote, President                 Appropriate Solutions, Inc.
www.AppropriateSolutions.com       [EMAIL PROTECTED]
603.924.6079(v)  POB 458, Peterborough, NH 03458    603.924.8668(f)

Reply via email to