PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Program to notify of changes to a website

Hi,

Anybody know of a program that will watch the contents of a website and send a short email if the contents change?

I'd like to have something set up that will watch the board of elections website tomorrow, and send short email updates to my cell phone when particular numbers change.

If there's not something out there already, I guess I'll break out my Perl book and see if I can whip something up.

Thanks,

Pam
There is something called RSS for rich site summary. It does exactly what you want, but I'm not sure if something is required on the web site itself (like an RSS feed). I've never used it but I have friends that swear by it.
Yeah, unfortunately, the site I'm looking at isn't RSS. It's just a plain text file the Board of Elections updates as the returns come in.

I found some programs out there that will me of changed content, but the ones I found only notify that a change happened, not the details of the changes.

I won't have time to get something working by tomorrow, so, oh well. Guess I'll just have to wait till I get home and can check the returns online.

Pam
You need an RSS feed in order to take advantage of any RSS parsing (of course), and it has to be specifically created.

While I can't help with Windows, on Linux you could probably use wget or rsync, and then simply fire off an email if the files are different.
On Linux, you could run curl to grab the file, fire it through lynx to render it as text, then run it through diff to compare to an earlier version. If it's different, you can have it email you the diffs with context.