2005-04-21, 01:13
since almost every script is using http
wouldn't it be possible to create one single fetchhtml function which can be used by all scripts?
it should provide the following:
-timeout for connecting
-timeout for reading data (function should return if the server hasn't send any data for a specified amount of time)
-user agent (like quicktimebrowser)
-some kind of progress callback so ui-updates/progress can be done
the timeouts are needed so the script won't hang if the server doesn't send anything or stops sending
user-agent is needed by qtbrowser and should be used by more scripts. i don't know how long the sites will tolerate us script users to view their content but not their ads
since i don't consider myself experienced enough for this is anyone up for this challenge?
any additions?
maybe some script already has it implemented?
bernd
wouldn't it be possible to create one single fetchhtml function which can be used by all scripts?
it should provide the following:
-timeout for connecting
-timeout for reading data (function should return if the server hasn't send any data for a specified amount of time)
-user agent (like quicktimebrowser)
-some kind of progress callback so ui-updates/progress can be done
the timeouts are needed so the script won't hang if the server doesn't send anything or stops sending
user-agent is needed by qtbrowser and should be used by more scripts. i don't know how long the sites will tolerate us script users to view their content but not their ads
since i don't consider myself experienced enough for this is anyone up for this challenge?
any additions?
maybe some script already has it implemented?
bernd