This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
My current project is something to track print usage. After logging into the printer's web interface and looking at the logs I realized that it was a rolling log with a fixed number or rows. Therefore, once it is full the bottom element falls off and one is added to the top something like a queue. While looking at the source for the page however, I noticed that the actual data was store in the JScript source instead of being recorded. I have made the line I'm talking about bold down below.
Basically what I want to do is, as soon as the online log is updated I want to be able to pull that info from the page and save it to another file on my hard drive. How can I go about automating this so that it will watch the page and automatically pull the information?
I have added the part of the .html containing the appropriate script.