How to implement a web service that periodically checks if an element of a web page (say, <div id="contentlist">) has changed; then if there is a change, send a notification to an email address?
Update
There is one issue. The web page is dynamically generated, so if I look at the HTML source, there is nothing in the targe element.
And I want to implement this as a web service. Can I do that in cron?
You take cron, create a script that checks if an element of a web page has changed (e.g. with
DOMDocument) and that shoots you an email if so and then you set it up with a cron interval so you can define how often you want to have that checked. Done.