Forum Moderators: open

Message Too Old, No Replies

code to notify visitors of update?

code question

         

onepageweb

4:07 pm on Jul 23, 2004 (gmt 0)

10+ Year Member



Is there a javascript or dhtml script I can use that asks: give us your email address and we will automatically inform you when this webpage is updated.
I have seen these on the web but I am hoping to find a good reliable one.

Thanks

RonPK

10:35 am on Jul 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You'll need a server side script for this, as the email addresses will have to be stored on the server.

onepageweb

4:43 pm on Jul 26, 2004 (gmt 0)

10+ Year Member



Thank you for answering, what is the best way to proceed?

RonPK

8:22 pm on Jul 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, I guess you know how to make a form for folks to submit their e-mail addresses ;) Store the addresses in database on the server.

The hard part is to build a system that checks for updated pages. Maybe it's easy to implement it as part of a content management system. For ordinary, static pages you'd need a script (PHP, Perl, ASP, Python) that checks all the HTML files every hour or so and compares their last modified date with the date previously stored in a database. If the file has been modified, send the emails.