in reply to Fast efficient webpage section monitoring
Your Mother, despite your obvious disagreement with any automation of this process (and I do see your point, although this is not quite a matter of cheating for money, but for work, which is quite different), regardless, you've come forward with a very interesting proposal with Mechanize::Firefox and I want to thank you for your open-mindedness.
Now I think of it, the webpage with the available translations does change when a new one is available, and no reload is required (nor running periodically as far as I can tell) so by looking into the way the site is achieving this I should be able to determine a better monitoring option, am I correct? And this will no doubt involve Javscript as you said from the start.
Marshall I did know there were APIs for clients, as translators get specific instructions not to attempt to message clients when they use the API. But I hadn't considered how this might mean the company could provide APIs for translators. As Your Mother pointed out, the system probably works just fine as far as they are concerned without the API: where as some of the clients might not use the service without, translators will kind of accept whatever is available I suppose. The only options they provide is an RSS feed which is slower to update than the webpage (doesn't seem to make sense to me but I checked it and there is sometimes not even time for the RSS feed to show a new translation before it's gone, where as the webpage shows it), or an e-mail system, which as you can imagine is even slower than the RSS.
BrowserUK thank you for all the precious leads concerning the head, I never knew there were so many potential items to an HTML header! Unfortunately this one is disappointingly bare: response code, content-type, date (which is almost always request date as the page is dynamic), location, server and that's it!
flexvault thank you for the idea, but I'm not sure how I could balance the timer with the condition of having to be as fast as possible on getting the information from the site. Any "wait" is basically a hole in which an update could be missed right? But I do understand that if resources were really getting eaten up, I would have to introduce a timer to give the system time to "relax".
Let me thank you all again, you are very helpful, and I'd like to say also that I do hear and respect your objections. They're not lost on me.
Regards
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fast efficient webpage section monitoring
by Your Mother (Archbishop) on Apr 03, 2016 at 14:50 UTC | |
|
Re^2: Fast efficient webpage section monitoring
by Marshall (Canon) on Apr 03, 2016 at 12:48 UTC |