Page 1 of 1

problem:Auto responder for RSS

Posted: Mon Feb 18, 2008 4:36 am
by bow
Hi guys , I want to make a web2 website , which one part of this involves in rss from different sites.
The problem is I want the user to specify rss from different sites , and give his email , and as soon as one of the specified sites updats its rss , my codes detect this update and send the content of rss to email of the user ... I don't know where to start

is it possible for php to execute a script automatically , without anyone to ask it to do so ? :!:

Re: problem:Auto responder for RSS

Posted: Mon Feb 18, 2008 4:41 am
by Benjamin
You're going to want to research curl and cron jobs. You'll also need to store the latest version of the feeds someplace, so I'd recommend MySQL. You could probably just md5 the feeds to save space. Any change in the data would result in a change being detected as the md5 would change.

You may want to watch out for feeds that contain timestamps or other data that changes on every request. Not sure these exist in rss feeds or not but I imagine they probably do. In that case you will need to develop alogrithms that can detect these and filter them out.

Re: problem:Auto responder for RSS

Posted: Mon Feb 18, 2008 4:44 am
by bow
wow, thanks for quick reply
it helped alot : I think now I know where to start