mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-26 14:53:59 +00:00
added
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1360 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
f35c4c8821
commit
cc74a219c8
6 changed files with 201 additions and 0 deletions
22
cgi/lconline/check.js
Normal file
22
cgi/lconline/check.js
Normal file
|
|
@ -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);
|
||||
}
|
||||
11
cgi/lconline/index.html
Normal file
11
cgi/lconline/index.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<html><head>
|
||||
<title>LinkChecker Online</title>
|
||||
</head>
|
||||
<frameset rows="40%,60%" border="1" frameborder="0" framespacing="0">
|
||||
<frame name="formular" src="lc_cgi.html" noresize frameborder="0">
|
||||
<frame name="links" src="leer.html" noresize frameborder="0">
|
||||
<noframes>
|
||||
Please use a frame capable browser.
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
||||
78
cgi/lconline/lc_cgi.html.de
Normal file
78
cgi/lconline/lc_cgi.html.de
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<html><head>
|
||||
<title>LinkChecker Online</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
h2 { font-family: Verdana,sans-serif; font-size: 22pt;
|
||||
font-style: bold; font-weight: bold }
|
||||
body { font-family: Arial,sans-serif; font-size: 11pt }
|
||||
td { font-family:Arial,sans-serif; font-size:11pt }
|
||||
code { font-family: Courier }
|
||||
a:hover { color: #34a4ef }
|
||||
//-->
|
||||
</style>
|
||||
<script type="text/javascript" src="check.js"></script>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function gettext (s) {
|
||||
if (s=="Empty URL was given.") {
|
||||
return "Leere URL angegeben.";
|
||||
}
|
||||
if (s=="Invalid URL was given.") {
|
||||
return "Ungültige URL angegeben.";
|
||||
}
|
||||
return s;
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
</head>
|
||||
<body text="#192c83" bgcolor="#fff7e5" link="#191c83" vlink="#191c83"
|
||||
alink="#191c83">
|
||||
|
||||
<center><h2>LinkChecker Online</h2>
|
||||
(läuft mit Öl vom <a href="http://linkchecker.sourceforge.net/"
|
||||
target="_top">LinkChecker</a>)
|
||||
</center>
|
||||
|
||||
<blockquote>
|
||||
<form method="POST" action="/cgi-bin/lconline/lc.cgi" target="links"
|
||||
onsubmit="return(isValid(document.checklinkForm))" name="checklinkForm">
|
||||
<table border="0" cellpadding="2" cellspacing="0" summary="">
|
||||
<tr height="50">
|
||||
<td>Url:</td>
|
||||
<td colspan="4"><input size="70" name="url" value="http://">
|
||||
<input type="submit" value="Go!">
|
||||
</td>
|
||||
</tr>
|
||||
<td rowspan="3" valign="top">Optionen:</td>
|
||||
<td>Rekursionstiefe:</td>
|
||||
<td><select name="level">
|
||||
<option value="0">0</option>
|
||||
<option value="1" selected>1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>Prüfe Anker in HTML:</td>
|
||||
<td><input type="checkbox" name="anchors" checked></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Nur Fehler ausgeben:</td>
|
||||
<td><input type="checkbox" name="errors"></td>
|
||||
<td>Prüfe nur interne Links:</td>
|
||||
<td><input type="checkbox" name="intern" checked></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ausgabe:</td>
|
||||
<td><select name="language">
|
||||
<option value="de" selected>Deutsch</option>
|
||||
<option value="C">Englisch</option>
|
||||
<option value="fr">Französisch</option>
|
||||
<option value="nl">Niederländisch</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>Prüfe strikt interne Links:</td>
|
||||
<td><input type="checkbox" name="strict"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
</body></html>
|
||||
72
cgi/lconline/lc_cgi.html.en
Normal file
72
cgi/lconline/lc_cgi.html.en
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
<html><head>
|
||||
<title>LinkChecker Online</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
h2 { font-family: Verdana,sans-serif; font-size: 22pt;
|
||||
font-style: bold; font-weight: bold }
|
||||
body { font-family: Arial,sans-serif; font-size: 11pt }
|
||||
td { font-family:Arial,sans-serif; font-size:11pt }
|
||||
code { font-family: Courier }
|
||||
a:hover { color: #34a4ef }
|
||||
//-->
|
||||
</style>
|
||||
<script type="text/javascript" src="check.js"></script>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function gettext (s) {
|
||||
return s;
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
</head>
|
||||
<body text="#192c83" bgcolor="#fff7e5" link="#191c83" vlink="#191c83"
|
||||
alink="#191c83">
|
||||
|
||||
<center><h2>LinkChecker Online</h2>
|
||||
(powered by <a href="http://linkchecker.sourceforge.net/"
|
||||
target="_top">LinkChecker</a>)
|
||||
</center>
|
||||
|
||||
<blockquote>
|
||||
<form method="POST" action="/cgi-bin/lconline/lc.cgi" target="links"
|
||||
onsubmit="return(isValid(document.checklinkForm))" name="checklinkForm">
|
||||
<table border="0" cellpadding="2" cellspacing="0" summary="">
|
||||
<tr height="50">
|
||||
<td>Url:</td>
|
||||
<td colspan="4"><input size="70" name="url" value="http://">
|
||||
<input type="submit" value="Go!">
|
||||
</td>
|
||||
</tr>
|
||||
<td rowspan="3" valign="top">Options:</td>
|
||||
<td>Recursion Level:</td>
|
||||
<td><select name="level">
|
||||
<option value="0">0</option>
|
||||
<option value="1" selected>1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>Check anchors in HTML:</td>
|
||||
<td><input type="checkbox" name="anchors" checked></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Log only errors:</td>
|
||||
<td><input type="checkbox" name="errors"></td>
|
||||
<td>Check only intern links:</td>
|
||||
<td><input type="checkbox" name="intern" checked></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Output language:</td>
|
||||
<td><select name="language">
|
||||
<option value="nl">Dutch</option>
|
||||
<option value="C" selected>English</option>
|
||||
<option value="fr">French</option>
|
||||
<option value="de">German</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>Check strict intern links:</td>
|
||||
<td><input type="checkbox" name="strict"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
</body></html>
|
||||
9
cgi/lconline/leer.html.de
Normal file
9
cgi/lconline/leer.html.de
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<html><head>
|
||||
<title>Leer</title>
|
||||
</head>
|
||||
<body text="#192c83" bgcolor="#fff7e5" link="#191c83" vlink="#191c83"
|
||||
alink="#191c83">
|
||||
<div style="font-family:Arial,sans-serif;">
|
||||
Keine Links geprüft!
|
||||
</div>
|
||||
</body></html>
|
||||
9
cgi/lconline/leer.html.en
Normal file
9
cgi/lconline/leer.html.en
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<html><head>
|
||||
<title>Empty</title>
|
||||
</head>
|
||||
<body text="#192c83" bgcolor="#fff7e5" link="#191c83" vlink="#191c83"
|
||||
alink="#191c83">
|
||||
<div style="font-family:Arial,sans-serif;">
|
||||
No links checked, dude!
|
||||
</div>
|
||||
</body></html>
|
||||
Loading…
Reference in a new issue