Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Congratulations on a brilliant idea and a great site..."

Geography

Where in the world do Tek-Tips members come from?
mcfcchris (TechnicalUser)
4 Aug 03 17:19
Hi, I am building a website for my aunt's school.  She wants a feature on it where the school will be notified when a page has gone 1 month without it being updated.
This is out of my knowledge range and I don't want to be scrubbed of her Christmas card list!
I was going to try with Perl but her school have no CGI facility.  Is there any other code out there or should I try to use Perl and encourage her school to get a CGI facility?
CAN ANYBODY HELP PLEASE????????

Thanks if you can!!

Chris
Helpful Member!  palbano (Programmer)
4 Aug 03 17:27
>> She wants a feature on it where the school will be
>> notified when a page has gone 1 month without it being updated.

Notified how?
Updated how? Define "Updated"

Depending on your definitions and requirements that could be accomplished with a simple application that is not installed as part of the web site.

-pete

mcfcchris (TechnicalUser)
4 Aug 03 17:33
Pete, thanks for your very quick response.
Yeah, my post wasn't very clear.
She wants an email notification (to the school secretary) when a page has gone 1 month without the school having made any changes at all to it.

Thanks

Chris
palbano (Programmer)
4 Aug 03 17:56
First, don’t overlook the obvious. The Hosting company might have a monthly report that can be emailed that includes the file data and time stamp information.

If by updated you mean there would be different text in the downloaded page? All you have to do is download the page and compare it to a previous version of the page. Many freeware applications can compare files. Then just send an email if there are no differences. There is no requirement for this process to be executed on the web server machine or any specific computer for that matter. In fact several freeware FTP applications exist that will report the date/time stamp of the file so all you would have to do is use a FTP application to connect to the site and view the date/time stamp information for the file.

Now if you want to automate the process a simple PC application can perform that functionality.

So for example a simple java console application could be used to download the page and compare it with the previous version downloaded and if 30 days have expired and there are no differences then send the email. The same could be done in C/C++ or .NET, Delphi, VB, etc.

There may be freeware applications available you could use.

Depending on what OS the program needs to be run on the PC, it can be scheduled or configured as a daemon, or you could even run it manually if you wanted to.

-pete

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close