I am waiting for a seat to open in a class that I want to take next semester. I want to write a program that will check the school's website periodically (say once every half hour) to see if the class seat status has gone from "0 of 30" to "x of 30" (0<x<31). If it comes up with a value of x>0, I want some kind of notification (anything simple, like a pop-up dialog box). The site is coded in XHTML. I'm not having any troubles figuring out where the "0" pops up:
(<td style="text-align:right;padding:0px;width:22px"></td> .... it's in a table)
I'm not entirely sure where to begin. One element that I desparately need, is a way to download the source code of a webpage. Without that, I can't really get started (I can manually save the source code as a text file and try some things, but that defeats the purpose of keeping it "automated"). Also, what's a commonly used method of notifying the user that the desired status currently realized? Lastly, does anyone have any pointers on the text search portion? Also, where would I learn how to set the program up to run periodically?
I understand that this is a pretty simple program, conceptually...but as I said, I'm fairly new to this. And I'm not trying to get someone to give me a full code, just looking for helpful resources and pointers. Thanks
(Any terminology for any of this would be helpful too. I'm interested in actually learning from this, not just creating the code and walking away...)
This post has been edited by ala_heu: 08 December 2009 - 09:18 PM