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(), par

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 or or something of the like. Perhaps even: With the actual dates in place,

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 solu

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

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 *file_get

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 > > > Ryan, > > That feed is indeed XML. > >

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
Ryan, That feed is indeed XML. 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 vista home

Re: [PHP] Monitor a WP website

2008-06-24 Thread Ryan S
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. So far yours has been the best solution Tedd, thanks! Cheers! R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

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 wo

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 > > > If it's RSS, I think it's going to be XML regardle

Re: [PHP] Monitor a WP website

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

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 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 Hilt

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. &g

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 result

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 > > > > > So, you want something to tell you if some

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 t

Re: [PHP] Monitor a WP website

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

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 be

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 mon

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 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 optio

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 a

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 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 s