RE: [PHP] Monitor a WP website
| From: | Boyd, Todd M. | Date: | Tue, 24 Jun 2008 18:51:27 +0000 |
| Subject: | RE: [PHP] Monitor a WP website | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275908@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: tedd [mailto:tedd.sperling@gmail.com]
> Sent: Tuesday, June 24, 2008 1:47 PM
> To: php php
> Subject: Re: [PHP] Monitor a WP website
>
> 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)?
tedd,
(damnit, Outlook capitalized that for me, and I had to change it
back...)
I believe he is talking about providing such a service. Of course, I've
heard of companies that outsource their entire livelihoods and charge
their own customers out the nose for proxy.
I'm not sure if he's trying to simply determine if a change has been
made or if he is trying to notify people of the particular item that has
been posted.
Clarifications, Ryan?
Todd Boyd
Web Programmer