git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@706 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2003-01-05 02:01:50 +00:00
parent ca2dea49ab
commit d52439c295

29
TODO
View file

@ -1,23 +1,6 @@
- Javascript in CGI scripts
<form onsubmit=return(isRequired(document.checklinkForm)) name=checklinkForm ...>
</form>
//Check for the required fields
function isRequired (thisForm) {
var empty = false;
// URI
if (isEmpty(thisForm.uri) || (thisForm.uri.value == "http://")) {
alert("The URL field is required. Please fill it in.");
thisForm.uri.select();
thisForm.uri.focus();
empty = true;
}
// verify URL format
if ((empty == false) && (verifyURI(thisForm.uri) == false)) {
alert("Invalid URL submitted. Please submit a valid URL.");
thisForm.uri.select();
thisForm.uri.focus();
empty = true;
}
return (!(empty));
}
possible Python 2.3 improvements:
- get rid of timeoutsocket.py, the default socket has timeouts
- use optparse instead of getopt with more flexible commandline help
- replace the debug() function with the logging module
we'll see how we can insert multiple debug levels into this thing
- use Bool object type