diff --git a/cgi/lconline/check.js b/cgi/lconline/check.js new file mode 100644 index 00000000..7cd33665 --- /dev/null +++ b/cgi/lconline/check.js @@ -0,0 +1,22 @@ +// check url validity +function isValid (thisForm) { + if (thisForm.url.value=="" || thisForm.url.value=="http://") { + alert(gettext("Empty URL was given.")); + thisForm.url.select(); + thisForm.url.focus(); + return false; + } + if (!checkSyntax(thisForm.url.value)) { + alert(gettext("Invalid URL was given.")); + thisForm.url.select(); + thisForm.url.focus(); + return false; + } + return true; +} + +// check url syntax +function checkSyntax (url) { + var syntax = /^https?:\/\/[-a-zA-Z.\/=%?~]+$/; + return syntax.test(url); +} diff --git a/cgi/lconline/index.html b/cgi/lconline/index.html new file mode 100644 index 00000000..02635051 --- /dev/null +++ b/cgi/lconline/index.html @@ -0,0 +1,11 @@ + +LinkChecker Online + + + + + +Please use a frame capable browser. + + + diff --git a/cgi/lconline/lc_cgi.html.de b/cgi/lconline/lc_cgi.html.de new file mode 100644 index 00000000..669e262e --- /dev/null +++ b/cgi/lconline/lc_cgi.html.de @@ -0,0 +1,78 @@ + +LinkChecker Online + + + + + + +

LinkChecker Online

+(läuft mit Öl vom LinkChecker) +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
Url: + +
Optionen:Rekursionstiefe: +Prüfe Anker in HTML:
Nur Fehler ausgeben:Prüfe nur interne Links:
Ausgabe: +Prüfe strikt interne Links:
+
+ diff --git a/cgi/lconline/lc_cgi.html.en b/cgi/lconline/lc_cgi.html.en new file mode 100644 index 00000000..56e699e2 --- /dev/null +++ b/cgi/lconline/lc_cgi.html.en @@ -0,0 +1,72 @@ + +LinkChecker Online + + + + + + +

LinkChecker Online

+(powered by LinkChecker) +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Url: + +
Options:Recursion Level: +Check anchors in HTML:
Log only errors:Check only intern links:
Output language: +Check strict intern links:
+
+ diff --git a/cgi/lconline/leer.html.de b/cgi/lconline/leer.html.de new file mode 100644 index 00000000..7f5cccd7 --- /dev/null +++ b/cgi/lconline/leer.html.de @@ -0,0 +1,9 @@ + +Leer + + +
+Keine Links geprüft! +
+ diff --git a/cgi/lconline/leer.html.en b/cgi/lconline/leer.html.en new file mode 100644 index 00000000..8d4db267 --- /dev/null +++ b/cgi/lconline/leer.html.en @@ -0,0 +1,9 @@ + +Empty + + +
+No links checked, dude! +
+