Page 1 of 1
Thoughts
Posted: Sun Aug 05, 2007 8:06 pm
by kippy
Any thoughts on a script that monitors a site (or web page) waiting for a specific content to display? Would like the script to monitor a site (or page) every n minutes looking for a set keyword and returning if something new is found....
thoughts?
Posted: Sun Aug 05, 2007 8:24 pm
by feyd
cron.
Posted: Sun Aug 05, 2007 8:27 pm
by kippy
as far as how to accomplish the monitor, would I want to use curl and store data in a file?
Posted: Sun Aug 05, 2007 8:30 pm
by superdezign
kippy wrote:[...] and store data in a file?
What?
Why?
What data?
Posted: Sun Aug 05, 2007 8:32 pm
by kippy
I have someone that wants to monitor a craigslist page or more for a specific item or brand. They want the script to alert them when a new item or brand item hits the site.
Posted: Sun Aug 05, 2007 8:37 pm
by feyd
You will need to determine some way of deciding if a change to the page has been made that you wish to alert. Whether that entails storage into a file or some other storage is your choice.
cURL is one of multiple ways of accessing remote pages.