diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-12-08 10:50:23 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-12-08 10:50:23 +0000 |
| commit | 4565b2f2c075c961b354873440dd856a51b26748 (patch) | |
| tree | 115c984f5d2a6a4f4c47b77545a7499396496155 /htroot/yacyinteractive.html | |
| parent | fc2e41e69142ff2112439ff4b30d57f96439fc60 (diff) | |
removed the display option from index.html, yacysearch.html and yacyinteractive.html
instead, a setting at ConfigPortal.html can be made to define if the topmenu shall be shown at these pages or if there is no naviagtion at all.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7366 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/yacyinteractive.html')
| -rw-r--r-- | htroot/yacyinteractive.html | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/htroot/yacyinteractive.html b/htroot/yacyinteractive.html index 9274163e6..f0655ebf8 100644 --- a/htroot/yacyinteractive.html +++ b/htroot/yacyinteractive.html @@ -13,22 +13,23 @@ var q = "#[query]#"; if (q != "") search(q); //]]> </script> -#(display)# - #%env/templates/simpleheader.template%# - <div id="kiosk"> - <a href="yacyinteractive.html?display=2"><img src="env/grafics/close.gif" width="16" height="16" alt="close" /></a> - <span>kiosk mode</span> - </div> - :: -<div id="api"><a href="yacysearch.json?query=yacy"><img src="env/grafics/api.png" width="60" height="40" alt="API" /></a> -<span>This page uses the JSON search API to display search results as you type. -Click the API icon to see an example call to the native API. +#(topmenu)# +#%env/templates/embeddedheader.template%# +:: +<div id="api"> +<script type="text/javascript"> +//<![CDATA[ +document.write("\<a id=\"rsslink\" href=\"yacysearch.rss?" + window.location.search.substring(1) + "\"\>") +//]]> +</script> +<img src="env/grafics/api.png" width="60" height="40" alt="API" /></a> +<span>This search result can also be retrieved as RSS/<a href="http://www.opensearch.org">opensearch</a> output. +The query format is similar to <a href="http://www.loc.gov/standards/sru/">SRU</a>. +Click the API icon to see an example call to the search rss API. To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de/wiki/index.php/Dev:API">API wiki page</a>.</span> -</div> - #%env/templates/header.template%# - :: - #%env/templates/embeddedheader.template%# -#(/display)# +</div> +#%env/templates/simpleheader.template%# +#(/topmenu)# <div style="float:left"> <form class="search small" id="searchform" action="yacyinteractive.html" method="get" onkeyup="xmlhttpPost(); return false;"> <h2>#[promoteSearchPageGreeting]#</h2> |
