Re: [PHP] Monitor a WP website

2008-06-30 Thread Thiago Melo de Paula
Tedd, very good your solution. Thanks for sharing. Regards, Thiago On Tue, Jun 24, 2008 at 6:22 PM, tedd [EMAIL PROTECTED] wrote: At 3:50 PM -0400 6/24/08, Daniel Brown wrote: On Tue, Jun 24, 2008 at 3:29 PM, tedd [EMAIL PROTECTED] wrote: Okay, then get_file_contents(), parse between the

RE: [PHP] Monitor a WP website

2008-06-26 Thread tedd
At 4:28 PM -0500 6/24/08, Boyd, Todd M. wrote: -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 4:22 PM To: php php Subject: Re: [PHP] Monitor a WP website ---8--- big snip It's not rocket science -- but occasionally my solutions leave

Re: [PHP] Monitor a WP website

2008-06-26 Thread Daniel Brown
On Thu, Jun 26, 2008 at 9:27 AM, tedd [EMAIL PROTECTED] wrote: You see, I'm assembling a list of my wit for posterity and hope to pick one out for my tombstone. Whereas mine will say something like /cruelWorld or /Dan or something of the like. Perhaps even: ?php function

[PHP] Monitor a WP website

2008-06-24 Thread Ryan S
Hey, Is there a way to check if a new post has been submitted on your favourite wordpress site? Heres what i am trying to do: do a fopen http://ezee.se/articles-blog/ via CRON every x minutes if a new post has been submitted, i mail someone... but am not just looking to do this for this one

Re: [PHP] Monitor a WP website

2008-06-24 Thread Eric Butera
On Tue, Jun 24, 2008 at 1:09 PM, Ryan S [EMAIL PROTECTED] wrote: Hey, Is there a way to check if a new post has been submitted on your favourite wordpress site? Heres what i am trying to do: do a fopen http://ezee.se/articles-blog/ via CRON every x minutes if a new post has been

Re: [PHP] Monitor a WP website

2008-06-24 Thread Stut
On 24 Jun 2008, at 18:09, Ryan S wrote: Hey, Is there a way to check if a new post has been submitted on your favourite wordpress site? Heres what i am trying to do: do a fopen http://ezee.se/articles-blog/ via CRON every x minutes if a new post has been submitted, i mail someone... but am

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
Hey Eric, Stut, Maybe you should start by trying to utilize the RSS feed. Went to that option at first too... but have a quick look around, there are many sites that for some reason dont have this feature turned on, and for them... the only option i think is to read the page... unless I am

Re: [PHP] Monitor a WP website

2008-06-24 Thread Stut
On 24 Jun 2008, at 19:06, Ryan S wrote: Hey Eric, Stut, Maybe you should start by trying to utilize the RSS feed. Went to that option at first too... but have a quick look around, there are many sites that for some reason dont have this feature turned on, and for them... the only option

Re: [PHP] Monitor a WP website

2008-06-24 Thread Nitsan Bin-Nun
RSS parsing is like anything else.. I believe you can create a database which will contain URL customized regex to scrape the information from the website. I dont have other ideas, thats what just poped in my mind. HTH, Nitsan On 24/06/2008, Ryan S [EMAIL PROTECTED] wrote: Hey Eric, Stut,

Re: [PHP] Monitor a WP website

2008-06-24 Thread tedd
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

RE: [PHP] Monitor a WP website

2008-06-24 Thread Boyd, Todd M.
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] 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

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
clippity 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

Re: [PHP] Monitor a WP website

2008-06-24 Thread Daniel Brown
On Tue, Jun 24, 2008 at 2:46 PM, tedd [EMAIL PROTECTED] wrote: 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

RE: [PHP] Monitor a WP website

2008-06-24 Thread Boyd, Todd M.
-Original Message- From: Ryan S [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 2:18 PM To: Boyd, Todd M.; tedd Cc: php-general@lists.php.net Subject: Re: [PHP] Monitor a WP website clippity So, you want something to tell you if something new has been added

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
Got an example? I've never seen a WP site with RSS feeds disabled. Hey Stut, Actually, dont have an example.. :o) but i have seen this question of how to disable wordpress rss frequently come up on many forums ( a quick google search with wordpress disable rss gives up quite a few results)

RE: [PHP] Monitor a WP website

2008-06-24 Thread Boyd, Todd M.
-Original Message- From: Ryan S [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 2:23 PM To: Stut Cc: Eric Butera; php php Subject: Re: [PHP] Monitor a WP website Got an example? I've never seen a WP site with RSS feeds disabled. Hey Stut, Actually, dont have

Re: [PHP] Monitor a WP website

2008-06-24 Thread Daniel Brown
On Tue, Jun 24, 2008 at 3:21 PM, Boyd, Todd M. [EMAIL PROTECTED] wrote: I'm afraid to click on a site with the url ballz.info while I'm at work. :D Any other WP feed examples? Heh. I checked it out, and it's a celebrity gossip website. In fact, in the third picture down, Paris Hilton

Re: [PHP] Monitor a WP website

2008-06-24 Thread tedd
At 3:20 PM -0400 6/24/08, Daniel Brown wrote: On Tue, Jun 24, 2008 at 2:46 PM, tedd [EMAIL PROTECTED] wrote: 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

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
snippy If it's RSS, I think it's going to be XML regardless of the language they're using to assemble it (Perl, PHP, ASP, etc.). I might be wrong, but I thought that's part of what made it RSS. I'm afraid to click on a site with the url ballz.info while I'm at work. :D Any other WP feed examples?

RE: [PHP] Monitor a WP website

2008-06-24 Thread Boyd, Todd M.
-Original Message- From: Ryan S [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 2:34 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: Re: [PHP] Monitor a WP website snippy If it's RSS, I think it's going to be XML regardless of the language they're using

Re: [PHP] Monitor a WP website

2008-06-24 Thread Daniel Brown
On Tue, Jun 24, 2008 at 3:29 PM, tedd [EMAIL PROTECTED] wrote: Okay, then get_file_contents(), parse between the tags that would contain the stuff you want to monitor, hash, store that, and do what I said. Even if you did use the *file_get_contents()* method you mentioned (;-P), how would

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
cut Okay, then get_file_contents(), parse between the tags that would contain the stuff you want to monitor, hash, store that, and do what I said. /cut So far yours has been the best solution Tedd, thanks! Cheers! R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
chip Ryan, That feed is indeed XML. /chip Ooookay! I think i see where my confusion was coming in opening the http://www.ballzbollywood.com/feed/; in FF3 automatically parses it in a way... as does it in IE7... but opera is giving me the raw feed and it makes sense again. (Am on win

RE: [PHP] Monitor a WP website

2008-06-24 Thread Boyd, Todd M.
-Original Message- From: Ryan S [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 2:58 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: Re: [PHP] Monitor a WP website chip Ryan, That feed is indeed XML. /chip Ooookay! I think i see where my confusion

Re: [PHP] Monitor a WP website

2008-06-24 Thread tedd
At 3:50 PM -0400 6/24/08, Daniel Brown wrote: On Tue, Jun 24, 2008 at 3:29 PM, tedd [EMAIL PROTECTED] wrote: Okay, then get_file_contents(), parse between the tags that would contain the stuff you want to monitor, hash, store that, and do what I said. Even if you did use the

RE: [PHP] Monitor a WP website

2008-06-24 Thread Boyd, Todd M.
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 4:22 PM To: php php Subject: Re: [PHP] Monitor a WP website ---8--- big snip It's not rocket science -- but occasionally my solutions leave craters. Haha! Yes! I'm going to use this (with your