update to web interface structure

pull/1/head
Michael Peter Christen 13 years ago
parent 8fb370d9f8
commit 5e77801aac

@ -7,7 +7,7 @@
</head> </head>
<body id="ConfigSkins"> <body id="ConfigSkins">
#%env/templates/header.template%# #%env/templates/header.template%#
#%env/templates/submenuPortalIntegration.template%# #%env/templates/submenuSearchConfiguration.template%#
<script type="text/javascript" src="/yacy/ui/js/jquery.colorpicker.js"></script> <script type="text/javascript" src="/yacy/ui/js/jquery.colorpicker.js"></script>
<script type="text/javascript"> <script type="text/javascript">

@ -6,7 +6,7 @@
</head> </head>
<body id="ConfigLanguage"> <body id="ConfigLanguage">
#%env/templates/header.template%# #%env/templates/header.template%#
#%env/templates/submenuPortalIntegration.template%# #%env/templates/submenuSearchConfiguration.template%#
<h2>Language selection</h2> <h2>Language selection</h2>
<p> <p>
You can change the language of the YaCy-webinterface with translation files. You can change the language of the YaCy-webinterface with translation files.

@ -7,7 +7,7 @@
</head> </head>
<body id="ConfigSkins"> <body id="ConfigSkins">
#%env/templates/header.template%# #%env/templates/header.template%#
#%env/templates/submenuPortalIntegration.template%# #%env/templates/submenuSearchIntegration.template%#
<h2>Integration of Live Search with YaCy Search Widget</h2> <h2>Integration of Live Search with YaCy Search Widget</h2>
<p> <p>
A 'Live-Search' input field that reacts as search-as-you-type in a pop-up window can easily be integrated in any web page. A 'Live-Search' input field that reacts as search-as-you-type in a pop-up window can easily be integrated in any web page.

@ -7,7 +7,7 @@
</head> </head>
<body id="ConfigSkins"> <body id="ConfigSkins">
#%env/templates/header.template%# #%env/templates/header.template%#
#%env/templates/submenuPortalIntegration.template%# #%env/templates/submenuSearchConfiguration.template%#
<h2>Integration of a Search Portal</h2> <h2>Integration of a Search Portal</h2>
<p> <p>
If you like to integrate YaCy as portal for your web pages, you may want to change icons and messages on the search page. If you like to integrate YaCy as portal for your web pages, you may want to change icons and messages on the search page.

@ -6,7 +6,7 @@
</head> </head>
<body id="ConfigProfile"> <body id="ConfigProfile">
#%env/templates/header.template%# #%env/templates/header.template%#
#%env/templates/submenuPortalIntegration.template%# #%env/templates/submenuSearchConfiguration.template%#
<h2>Your Personal Profile</h2> <h2>Your Personal Profile</h2>
<p> <p>
You can create a personal profile here, which can be seen by other YaCy-members You can create a personal profile here, which can be seen by other YaCy-members

@ -6,7 +6,7 @@
</head> </head>
<body id="ConfigSkins"> <body id="ConfigSkins">
#%env/templates/header.template%# #%env/templates/header.template%#
#%env/templates/submenuPortalIntegration.template%# #%env/templates/submenuSearchIntegration.template%#
<h2>Integration of a Search Box</h2> <h2>Integration of a Search Box</h2>
<p> <p>
We give information how to integrate a search box on any web page that We give information how to integrate a search box on any web page that

@ -18,7 +18,10 @@
</head> </head>
<body id="IndexCreate"> <body id="IndexCreate">
<div id="api"></div> <div id="api">
<a href="http://www.yacy-websuche.de/wiki/index.php/Dev:API#Managing_crawl_jobs" id="apilink"><img src="/env/grafics/api.png" width="60" height="40" alt="API"/></a>
<span>Click on this API button to see a documentation of the POST request parameter for crawl starts.</span>
</div>
#%env/templates/header.template%# #%env/templates/header.template%#
#%env/templates/submenuIndexCreate.template%# #%env/templates/submenuIndexCreate.template%#
@ -26,7 +29,10 @@
<p id="startCrawling"> <p id="startCrawling">
<strong>Start Crawling Job:</strong>&nbsp; <strong>Start Crawling Job:</strong>&nbsp;
You can define URLs as start points for Web page crawling and start crawling here. "Crawling" means that YaCy will download the given website, extract all links in it and then download the content behind these links. This is repeated as long as specified under "Crawling Depth". You can define URLs as start points for Web page crawling and start crawling here.
"Crawling" means that YaCy will download the given website, extract all links in it and then download the content behind these links.
This is repeated as long as specified under "Crawling Depth".
A crawl can also be started using wget and the <a href="http://www.yacy-websuche.de/wiki/index.php/Dev:API#Managing_crawl_jobs">post arguments</a> for this web page.
</p> </p>
<form id="Crawler" action="Crawler_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8"> <form id="Crawler" action="Crawler_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">

@ -150,7 +150,7 @@ public class Crawler_p {
if (newcrawlingMustMatch.length() < 2) newcrawlingMustMatch = CrawlProfile.MATCH_ALL_STRING; // avoid that all urls are filtered out if bad value was submitted if (newcrawlingMustMatch.length() < 2) newcrawlingMustMatch = CrawlProfile.MATCH_ALL_STRING; // avoid that all urls are filtered out if bad value was submitted
final boolean fullDomain = "domain".equals(post.get("range", "wide")); // special property in simple crawl start final boolean fullDomain = "domain".equals(post.get("range", "wide")); // special property in simple crawl start
final boolean subPath = "subpath".equals(post.get("range", "wide")); // special property in simple crawl start final boolean subPath = "subpath".equals(post.get("range", "wide")); // special property in simple crawl start
final boolean deleteold = (fullDomain || subPath) && post.getBoolean("deleteold"); final boolean deleteold = (fullDomain || subPath || !CrawlProfile.MATCH_ALL_STRING.equals(newcrawlingMustMatch)) && post.getBoolean("deleteold");
String crawlingStart0 = post.get("crawlingURL","").trim(); // the crawljob start url String crawlingStart0 = post.get("crawlingURL","").trim(); // the crawljob start url
String[] rootURLs0 = crawlingStart0.indexOf('\n') > 0 || crawlingStart0.indexOf('\r') > 0 ? crawlingStart0.split("[\\r\\n]+") : crawlingStart0.split(Pattern.quote("|")); String[] rootURLs0 = crawlingStart0.indexOf('\n') > 0 || crawlingStart0.indexOf('\r') > 0 ? crawlingStart0.split("[\\r\\n]+") : crawlingStart0.split(Pattern.quote("|"));

@ -5,6 +5,12 @@
#%env/templates/metas.template%# #%env/templates/metas.template%#
</head> </head>
<body id="IndexCreateQueues"> <body id="IndexCreateQueues">
<div id="api">
<a href="/api/latency_p.xml" id="apilink"><img src="/env/grafics/api.png" width="60" height="40" alt="API"/></a>
<span>Click on this API button to see an XML with information about the crawler latency and other statistics.</span>
</div>
<div id="fullcontent"> <div id="fullcontent">
#(embed)# #(embed)#
#%env/templates/header.template%# #%env/templates/header.template%#

@ -26,7 +26,7 @@
</head> </head>
<body id="Ranking_p"> <body id="Ranking_p">
#%env/templates/header.template%# #%env/templates/header.template%#
#%env/templates/submenuPortalIntegration.template%# #%env/templates/submenuSearchConfiguration.template%#
<h2>Ranking Configuration</h2> <h2>Ranking Configuration</h2>
<p>The document ranking influences the order of the search result entities. <p>The document ranking influences the order of the search result entities.
A ranking is computed using a number of attributes from the documents that match with the search word. A ranking is computed using a number of attributes from the documents that match with the search word.

@ -17,11 +17,7 @@
<script type="text/javascript" src="/js/yacysearch.js"></script> <script type="text/javascript" src="/js/yacysearch.js"></script>
</head> </head>
<body id="Surftips"> <body id="Surftips">
#(display)# #(submenu)#::#%env/templates/submenuComputation.template%##(/submenu)#
#%env/templates/simpleheader.template%#
::
#%env/templates/header.template%#
#(/display)#
<h2 class="yacy">Surftips</h2> <h2 class="yacy">Surftips</h2>

@ -40,7 +40,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
<div id="fullcontent"> <div id="fullcontent">
#(inline)##%env/templates/header.template%# #(inline)##%env/templates/header.template%#
<h2>Steering of API Actions</h2> <h2>Process Scheduler</h2>
<p>This table shows actions that had been issued on the YaCy interface <p>This table shows actions that had been issued on the YaCy interface
to change the configuration or to request crawl actions. to change the configuration or to request crawl actions.
These recorded actions can be used to repeat specific actions and to send them These recorded actions can be used to repeat specific actions and to send them

@ -15,15 +15,12 @@
<li><a href="/gsa/search?q=www&size=3" class="MenuItemLink">Embedded GSA API</a></li> <li><a href="/gsa/search?q=www&size=3" class="MenuItemLink">Embedded GSA API</a></li>
<!--<li><a href="/yacy/ui/" accesskey="s" class="MenuItemLink">Rich Client Search</a></li>--> <!--<li><a href="/yacy/ui/" accesskey="s" class="MenuItemLink">Rich Client Search</a></li>-->
<li><a href="/compare_yacy.html?display=1" class="MenuItemLink">Compare Search</a></li> <li><a href="/compare_yacy.html?display=1" class="MenuItemLink">Compare Search</a></li>
<li><a href="/ConfigPortal.html" class="MenuItemLink">Search Integration</a></li>
</ul> </ul>
</li>
<li class="menugroup" id="menugroupGlobalIndex"> <li class="menugroup" id="menugroupGlobalIndex">
<h3>Browse</h3> <h3>Search Design</h3>
<ul class="menu"> <ul class="menu">
<li><a href="/YMarks.html" class="MenuItemLink">Bookmarks</a></li> <li><a href="/ConfigPortal.html" class="MenuItemLink">Integrated Search Configuration</a></li>
<li><a href="/Surftips.html?display=1" class="MenuItemLink">Surftips</a></li> <li><a href="/ConfigLiveSearch.html" class="MenuItemLink">Search Integration into External Sites</a></li>
<li><a href="/Wiki.html?display=1" class="MenuItemLink">Local Peer Wiki</a></li>
</ul> </ul>
</li> </li>
<li class="menugroup" id="menugroupCrawlerControl"> <li class="menugroup" id="menugroupCrawlerControl">
@ -34,6 +31,7 @@
<li><a href="/IndexControlURLs_p.html" class="MenuItemLink lock">Index Administration</a></li> <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="/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="/Vocabulary_p.html" class="MenuItemLink lock">Content Semantic</a></li>
<li><a href="/Table_API_p.html" class="MenuItemLink lock">Process Scheduler</a></li>
</ul> </ul>
</li> </li>
<li class="menugroup" id="menugroupMonitoring"> <li class="menugroup" id="menugroupMonitoring">
@ -44,27 +42,26 @@
<li><a href="/AccessGrid_p.html" class="MenuItemLink lock">Network Access</a></li> <li><a href="/AccessGrid_p.html" class="MenuItemLink lock">Network Access</a></li>
<li><a href="/ViewLog_p.html" class="MenuItemLink lock">Computation</a></li> <li><a href="/ViewLog_p.html" class="MenuItemLink lock">Computation</a></li>
<li><a href="/terminal_p.html" accesskey="t" class="MenuItemLink lock">Terminal</a></li> <li><a href="/terminal_p.html" accesskey="t" class="MenuItemLink lock">Terminal</a></li>
<li><a href="/YMarks.html" class="MenuItemLink">Bookmarks</a></li>
</ul> </ul>
</li> </li>
<li class="menugroup" id="menugroupPeerControl"> <li class="menugroup" id="menugroupPeerControl">
<h3>Peer Control</h3> <h3>Peer Control</h3>
<ul class="menu"> <ul class="menu">
<li><a href="/Status.html?noforward=" class="MenuItemLink">Admin Console</a></li> <li><a href="/Status.html?noforward=" class="MenuItemLink">Admin Console</a></li>
<li><a href="/Table_API_p.html" class="MenuItemLink lock">API Action Steering</a></li>
<li><a href="/Help.html" class="MenuItemLink">Tutorial</a></li>
<li><a href="/Steering.html?restart=" class="MenuItemLink lock" onclick="return confirm('Confirm Restart')">Re-Start</a></li> <li><a href="/Steering.html?restart=" class="MenuItemLink lock" onclick="return confirm('Confirm Restart')">Re-Start</a></li>
<li><a href="/Steering.html?shutdown=" class="MenuItemLink lock" onclick="return confirm('Confirm Shutdown')">Shutdown</a></li> <li><a href="/Steering.html?shutdown=" class="MenuItemLink lock" onclick="return confirm('Confirm Shutdown')">Shutdown</a></li>
</ul> </ul>
</li> </li>
<li class="menugroup" id="menugroupTheProjekt"> <li class="menugroup" id="menugroupTheProjekt">
<h3>The Project</h3> <h3>The YaCy Project</h3>
<ul class="menu"> <ul class="menu">
<li><a href="http://www.yacy.net/" class="MenuItemLink">Project Home</a></li> <li><a href="http://www.yacy.net/" class="MenuItemLink">Project Home</a></li>
<li><a href="http://forum.yacy.de" class="MenuItemLink">Deutsches Forum</a></li> <li><a href="/Help.html" class="MenuItemLink">Tutorials</a></li>
<li><a href="http://www.yacy-forum.org" class="MenuItemLink">English Forum</a></li> <li><a href="http://forum.yacy.de" class="MenuItemLink">Forum/Discussion</a></li>
<li><a href="http://wiki.yacy.de" class="MenuItemLink">YaCy Project Wiki</a></li> <li><a href="http://wiki.yacy.de" class="MenuItemLink">Project Wiki</a></li>
<li><a href="https://gitorious.org/yacy/rc1/commits/master" class="MenuItemLink">Development Change Log</a></li> <li><a href="https://gitorious.org/yacy/rc1/commits/master" class="MenuItemLink">Git Repository</a></li>
<li><a href="http://bugs.yacy.net" class="MenuItemLink">YaCy Bugtracker</a></li> <li><a href="http://bugs.yacy.net" class="MenuItemLink">Bugtracker</a></li>
<li><a href="#(newpeer)#http://www.yacystats.de/peer/#[peerhash]#::http://www.yacystats.de#(/newpeer)#" class="MenuItemLink">#(newpeer)#Peer Statistics::YaCy Statistics#(/newpeer)#</a></li> <li><a href="#(newpeer)#http://www.yacystats.de/peer/#[peerhash]#::http://www.yacystats.de#(/newpeer)#" class="MenuItemLink">#(newpeer)#Peer Statistics::YaCy Statistics#(/newpeer)#</a></li>
</ul> </ul>
</li> </li>

@ -4,8 +4,7 @@
<li style="width:15%;"><a href="/index.html" onclick="this.href='/index.html?handover='+document.searchform.search.value" class="MenuItemLink">Web Search</a></li> <li style="width:15%;"><a href="/index.html" onclick="this.href='/index.html?handover='+document.searchform.search.value" class="MenuItemLink">Web Search</a></li>
<li style="width:15%;"><a href="/yacyinteractive.html" onclick="this.href='/yacyinteractive.html?handover='+document.searchform.search.value" class="MenuItemLink">File Search</a></li> <li style="width:15%;"><a href="/yacyinteractive.html" onclick="this.href='/yacyinteractive.html?handover='+document.searchform.search.value" class="MenuItemLink">File Search</a></li>
<li style="width:15%;"><a href="/HostBrowser.html?hosts=" class="MenuItemLink">HostBrowser</a></li> <li style="width:15%;"><a href="/HostBrowser.html?hosts=" class="MenuItemLink">HostBrowser</a></li>
<li style="width:15%;"><a href="/Network.html?menu=simple" class="MenuItemLink">Search Network</a></li> <li style="width:15%;"><a href="/ViewProfile.html?hash=localhash" class="MenuItemLink">About Us</a></li>
<li style="width:15%;"><a href="/ViewProfile.html?hash=localhash" class="MenuItemLink">Peer Owner Profile</a></li>
<li style="width:9%;"><a href="http://www.yacy-websearch.net/wiki/" class="MenuItemLink">Help / YaCy Wiki</a></li> <li style="width:9%;"><a href="http://www.yacy-websearch.net/wiki/" class="MenuItemLink">Help / YaCy Wiki</a></li>
</ul> </ul>
</div> </div>

@ -6,12 +6,11 @@
<h3>Processes</h3> <h3>Processes</h3>
<ul class="SubMenu"> <ul class="SubMenu">
<li><a href="/ViewLog_p.html" class="MenuItemLink lock">Server Log</a></li> <li><a href="/ViewLog_p.html" class="MenuItemLink lock">Server Log</a></li>
<li><a href="/PerformanceConcurrency_p.html" class="MenuItemLink">Concurrent Indexing</a></li> <li><a href="/PerformanceConcurrency_p.html" class="MenuItemLink lock">Concurrent Indexing</a></li>
<li><a href="/PerformanceMemory_p.html" class="MenuItemLink">Memory Usage</a></li> <li><a href="/PerformanceMemory_p.html" class="MenuItemLink lock">Memory Usage</a></li>
<li><a href="/PerformanceSearch_p.html" class="MenuItemLink">Search Sequence</a></li> <li><a href="/PerformanceSearch_p.html" class="MenuItemLink lock">Search Sequence</a></li>
</ul> </ul>
</div> </div>
#(p2p)#::
<div class="SubMenugroup"> <div class="SubMenugroup">
<h3>Messages</h3> <h3>Messages</h3>
<ul class="SubMenu"> <ul class="SubMenu">
@ -22,5 +21,11 @@
<li><a href="/News.html?page=4" class="MenuItemLink">Published&nbsp;News</a></li> <li><a href="/News.html?page=4" class="MenuItemLink">Published&nbsp;News</a></li>
</ul> </ul>
</div> </div>
#(/p2p)# <div class="SubMenugroup">
<h3>Community Data</h3>
<ul class="SubMenu">
<li><a href="/Surftips.html" class="MenuItemLink">Surftips</a></li>
<li><a href="/Wiki.html?display=1" class="MenuItemLink">Local Peer Wiki</a></li>
</ul>
</div>
</div> </div>

@ -1,10 +1,10 @@
<div class="SubMenu"> <div class="SubMenu">
<h3>Index Administration</h3> <h3>Index Administration</h3>
<ul class="SubMenu"> <ul class="SubMenu">
<li><a href="/IndexControlURLs_p.html" class="MenuItemLink lock">URL References Database</a></li> <li><a href="/IndexControlURLs_p.html" class="MenuItemLink lock">Database Administration</a></li>
<li><a href="/IndexFederated_p.html" class="MenuItemLink lock">Federated Solr Index</a></li>
#(p2p)#::<li><a href="/IndexControlRWIs_p.html" class="MenuItemLink lock">Reverse Word Index Administration</a></li>#(/p2p)# #(p2p)#::<li><a href="/IndexControlRWIs_p.html" class="MenuItemLink lock">Reverse Word Index Administration</a></li>#(/p2p)#
<!--<li><a href="/IndexControlCleaner_p.html" class="MenuItemLink lock">Index Cleaner</a></li>--> <!--<li><a href="/IndexControlCleaner_p.html" class="MenuItemLink lock">Index Cleaner</a></li>-->
<li><a href="/ViewFile.html?display=1" class="MenuItemLink">URL Viewer</a></li> <li><a href="/ViewFile.html?display=1" class="MenuItemLink">URL Viewer</a></li>
<li><a href="/IndexFederated_p.html" class="MenuItemLink lock">Federated Index</a></li>
</ul> </ul>
</div> </div>

@ -1,12 +0,0 @@
<div class="SubMenu">
<h3>Search Portal Integration</h3>
<ul class="SubMenu">
<li><a href="/ConfigPortal.html" class="MenuItemLink">Generic Search Portal</a></li>
<li><a href="/ConfigLiveSearch.html" class="MenuItemLink">Live Search Anywhere</a></li>
<li><a href="/ConfigSearchBox.html" class="MenuItemLink">Search Box Anywhere</a></li>
<li><a href="/ConfigAppearance_p.html" class="MenuItemLink lock">Appearance</a></li>
<li><a href="/ConfigProfile_p.html" class="MenuItemLink lock">User Profile</a></li>
<li><a href="/ConfigLanguage_p.html" class="MenuItemLink lock">Language</a></li>
<li><a href="/Ranking_p.html" class="MenuItemLink lock">Ranking Config</a></li>
</ul>
</div>

@ -0,0 +1,7 @@
<div class="SubMenu">
<h3>Search Integration into External Sites</h3>
<ul class="SubMenu">
<li><a href="/ConfigLiveSearch.html" class="MenuItemLink">Live Search Anywhere</a></li>
<li><a href="/ConfigSearchBox.html" class="MenuItemLink">Search Box Anywhere</a></li>
</ul>
</div>
Loading…
Cancel
Save