Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

added new submenu 'Target Analysis' with three servlets which are useful to analyse the target servers: robots.txt table, mass target analysis and a regex tester

Michael Peter Christen4c4e0eece2e1
diff --git a/htroot/CrawlCheck_p.html b/htroot/CrawlCheck_p.html
index 7635f54aa..83e4f8a81 100644
--- a/htroot/CrawlCheck_p.html
+++ b/htroot/CrawlCheck_p.html
@@ -21,7 +21,7 @@
<div id="api"></div>
#%env/templates/header.template%#
- #%env/templates/submenuIndexCreate.template%#
+ #%env/templates/submenuTargetAnalysis.template%#
<h2>Crawl Check</h2>
<p>This pages gives you an analysis about the possible success for a web crawl on given addresses.</p>
diff --git a/htroot/RegexTest.html b/htroot/RegexTest.html
index 76a2ca812..f0a62f4f7 100644
--- a/htroot/RegexTest.html
+++ b/htroot/RegexTest.html
@@ -6,7 +6,7 @@
</head>
<body id="IndexCreate">
#%env/templates/header.template%#
- #%env/templates/submenuIndexCreate.template%#
+ #%env/templates/submenuTargetAnalysis.template%#
<h2>RegexTest</h2>
<fieldset>
<form method="get" action="RegexTest.html" accept-charset="UTF-8">
diff --git a/htroot/Tables_p.html b/htroot/Tables_p.html
index 4c07e8615..376308868 100644
--- a/htroot/Tables_p.html
+++ b/htroot/Tables_p.html
@@ -36,7 +36,7 @@ document.write("<div id=\"api\">\<a href=\"/api/table_p.xml" + window.location.s
</script>
#%env/templates/header.template%#
- #%env/templates/submenuConfig.template%#
+ #%env/templates/submenuTargetAnalysis.template%#
#(showselection)#::
<h2>Table Administration</h2>
<form action="Tables_p.html" method="get" accept-charset="UTF-8">
diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template
index 12e372943..11987a0a6 100644
--- a/htroot/env/templates/header.template
+++ b/htroot/env/templates/header.template
@@ -31,6 +31,7 @@
<li><a href="/IndexControlURLs_p.html" class="MenuItemLink lock">Index Administration</a></li>
<li><a href="/Blacklist_p.html" class="MenuItemLink lock">Filter &amp; Blacklists</a></li>
<li><a href="/Vocabulary_p.html" class="MenuItemLink lock">Content Semantic</a></li>
+ <li><a href="/Tables_p.html?table=robots&count=100" class="MenuItemLink lock">Target Analysis</a></li>
<li><a href="/Table_API_p.html" class="MenuItemLink lock">Process Scheduler</a></li>
</ul>
</li>
diff --git a/htroot/env/templates/submenuIndexCreate.template b/htroot/env/templates/submenuIndexCreate.template
index 78db4173f..6387127b6 100644
--- a/htroot/env/templates/submenuIndexCreate.template
+++ b/htroot/env/templates/submenuIndexCreate.template
@@ -36,12 +36,4 @@
<li><a href="/IndexImportMediawiki_p.html" class="MenuItemLink lock">Dump Reader for <br/>MediaWiki dumps</a></li>
</ul>
</div>
-
- <div class="SubMenugroup">
- <h3>Target Analysis</h3>
- <ul class="SubMenu">
- <li><a href="/CrawlCheck_p.html" class="MenuItemLink lock">Mass Crawl<br/>Check</a></li>
- <li><a href="/RegexTest.html" class="MenuItemLink">Regex<br/>Test</a></li>
- </ul>
- </div>
</div>
\ No newline at end of file
diff --git a/htroot/env/templates/submenuTargetAnalysis.template b/htroot/env/templates/submenuTargetAnalysis.template
new file mode 100644
index 000000000..003a25f8e
--- /dev/null
+++ b/htroot/env/templates/submenuTargetAnalysis.template
@@ -0,0 +1,8 @@
+<div class="SubMenu">
+ <h3>Target Analysis</h3>
+ <ul class="SubMenu">
+ <li><a href="/Tables_p.html?table=robots&count=100" class="MenuItemLink lock">Robots.txt Database</a></li>
+ <li><a href="/CrawlCheck_p.html" class="MenuItemLink lock">Mass Crawl Check</a></li>
+ <li><a href="/RegexTest.html" class="MenuItemLink">Regex Test</a></li>
+ </ul>
+</div>