diff options
| author | Michael Peter Christen <mc@yacy.net> | 2012-10-10 02:02:17 +0200 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2012-10-10 02:02:17 +0200 |
| commit | abebb3b124759439ac8ac46604fb71a64efbdafe (patch) | |
| tree | 8efec2bcf1e81005af68476c25c1591032a65b5d /htroot/CrawlCheck_p.html | |
| parent | 941873fba47c966023961686a4dc88f9d935f23e (diff) | |
added a crawl start checker which makes a simple analysis on the list of
all given urls: shows if the url can be loaded and if there is a robots
and/or a sitemap.
Diffstat (limited to 'htroot/CrawlCheck_p.html')
| -rw-r--r-- | htroot/CrawlCheck_p.html | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/htroot/CrawlCheck_p.html b/htroot/CrawlCheck_p.html new file mode 100644 index 000000000..7635f54aa --- /dev/null +++ b/htroot/CrawlCheck_p.html @@ -0,0 +1,74 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > + <head> + <title>YaCy '#[clientname]#': Crawl Start</title> + #%env/templates/metas.template%# + <script type="text/javascript" src="/js/ajax.js"></script> + <script type="text/javascript" src="/js/IndexCreate.js"></script> + <script type="text/javascript"> + function check(key){ + document.getElementById(key).checked = 'checked'; + } + </script> + <style type="text/css"> + .nobr { + white-space: nowrap; + } + </style> + </head> + <body id="IndexCreate"> + +<div id="api"></div> + + #%env/templates/header.template%# + #%env/templates/submenuIndexCreate.template%# + <h2>Crawl Check</h2> + + <p>This pages gives you an analysis about the possible success for a web crawl on given addresses.</p> + + <fieldset> + <legend> + <label>Crawl Check</label> + </legend> + <form id="CrawlCheck" method="post" action="CrawlCheck_p.html" enctype="multipart/form-data" accept-charset="UTF-8"> + <dl> + <dt><label>List of possible crawl start URLs</label></dt> + <dd> + <textarea name="crawlingURLs" id="crawlingURLs" cols="80" rows="15" size="80">#[starturls]#</textarea> + </dd> + <dt></dt> + <dd><input type="submit" name="crawlcheck" value="Check given urls" class="submitready"/> + </dd> + </dl> + + </form> + </fieldset> + + + #(table)#:: + <fieldset><legend>Analysis</legend> + <table border="0" cellpadding="2" cellspacing="2" style="float:left"> + <tr> + <th align="left" width="600" class="listing">URL</th> + <th align="right" width="80" class="listing">Access</th> + <th align="right" width="80" class="listing">Robots</th> + <th align="right" width="80" class="listing">Crawl-Delay</th> + <th align="right" width="200" class="listing">Sitemap</th> + </tr> + #{list}# + <tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#"> + <td align="left" nowrap class="listing"><a href="#[url]#" class="listing">#[url]#</a></td> + <td align="right" nowrap class="listing">#[access]#</td> + <td align="right" nowrap class="listing">#[robots]#</td> + <td align="right" nowrap class="listing">#[crawldelay]#</td> + <td align="right" nowrap class="listing">#[sitemap]#</td> + </tr> + #{/list}# + </table> + </fieldset> + #(/table)# + + + #%env/templates/footer.template%# + </body> +</html> |
