Re: Monitor a WP website

From: Date: Tue, 24 Jun 2008 18:46:32 +0000
Subject: Re: Monitor a WP website
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-275906@lists.php.net to get a copy of this message
At 10:09 AM -0700 6/24/08, Ryan S wrote:
Hey, Is there a way to check if a new post has been submitted on your favourite wordpress site?
So, you want something to tell you if something new has been added to a remote site, right? There used to be free services that did that -- I used to monitor competitors's web sites using such service. But, I think they eventually stopped the free service. Here's one site that charges: http://www.webmetrics.com/websitemonitoring.html Now, if you want to do this on your own, then it should be simple enough to use get_file_contents and put the file through a md5() function (or use md5_file) and store the result in a dB. Then cron a check every so often to see if the hash has changed. If it has, then email you notice, rehash the site and store it in the dB. Or, am I completely off-base in understanding what you wanted (as I've been told lately)? Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#275906) next »