summaryrefslogtreecommitdiff
path: root/htroot/ConfigSearchBox.html
diff options
context:
space:
mode:
authororbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2009-09-25 14:03:41 +0000
committerorbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2009-09-25 14:03:41 +0000
commit3faa011e3d3bba55279dad7f7b5df9e3de742598 (patch)
treec6093afd1a621dfd7810d5aa1f48175b5719f4cc /htroot/ConfigSearchBox.html
parent26b81bd1f1c5337aad288389d4da498fd97fc9fe (diff)
added another search integration help page
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6346 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/ConfigSearchBox.html')
-rw-r--r--htroot/ConfigSearchBox.html74
1 files changed, 74 insertions, 0 deletions
diff --git a/htroot/ConfigSearchBox.html b/htroot/ConfigSearchBox.html
new file mode 100644
index 000000000..197a26cf8
--- /dev/null
+++ b/htroot/ConfigSearchBox.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">
+ <head>
+ <title>YaCy '#[clientname]#': Integration of a Search Box</title>
+ #%env/templates/metas.template%#
+ </head>
+ <body id="ConfigSkins">
+ #%env/templates/header.template%#
+ #%env/templates/submenuIntegration.template%#
+ <h2>Integration of a Search Box</h2>
+ <p>
+ We give information how to integrate a search box on any web page that
+ calls the normal YaCy search window.
+ </p>
+
+ <h3>
+ Simply use the following code:
+ </h3>
+ <fieldset><pre>
+&lt;form method="get" accept-charset="UTF-8" action="http://#[myaddress]#/yacysearch.html"&gt;
+ &lt;div style="text-align:center; padding:5px; background-color:#eeeeee; border:1px solid #cccccc; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; display:block; float:left; margin-right:5px;"&gt;
+ &lt;div style="font-family:Arial,Helvetica,sans-serif; font-size:16px; display:block; float:left; padding-top:3px; padding-right:5px;"&gt;
+ MySearch
+ &lt;/div&gt;
+ &lt;input type="text" name="query" value="" maxlength="80"
+ style="width:300px; font-size:16px; float:left;" /&gt;
+ &lt;input type="hidden" name="verify" value="true" /&gt;
+ &lt;input type="hidden" name="maximumRecords" value="10" /&gt;
+ &lt;input type="hidden" name="meanCount" value="5" /&gt;
+ &lt;input type="hidden" name="resource" value="local" /&gt;
+ &lt;input type="hidden" name="urlmaskfilter" value=".*" /&gt;
+ &lt;input type="hidden" name="prefermaskfilter" value="" /&gt;
+ &lt;input type="hidden" name="display" value="2" /&gt;
+ &lt;input type="hidden" name="nav" value="all" /&gt;
+ &lt;div style="font-size:16px; display:block; float:right; padding-top:1px;"&gt;
+ &lt;input type="submit" name="Enter" value="Search" /&gt;
+ &lt;/div&gt;
+ &lt;/div&gt;
+ &lt;p style="clear:both;"&gt;&lt;/p&gt;
+&lt;/form&gt;
+ </pre></fieldset>
+
+ This would look like:
+<form method="get" accept-charset="UTF-8" action="http://#[myaddress]#/yacysearch.html">
+ <div style="text-align:center; padding:5px; background-color:#eeeeee; border:1px solid #cccccc; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; display:block; float:left; margin-right:5px;">
+ <div style="font-family:Arial,Helvetica,sans-serif; font-size:16px; display:block; float:left; padding-top:3px; padding-right:5px;">
+ MySearch
+ </div>
+ <input type="text" name="query" value="" maxlength="80"
+ style="width:300px; font-size:16px; float:left;" />
+ <input type="hidden" name="verify" value="true" />
+ <input type="hidden" name="maximumRecords" value="10" />
+ <input type="hidden" name="meanCount" value="5" />
+ <input type="hidden" name="resource" value="local" />
+ <input type="hidden" name="urlmaskfilter" value=".*" />
+ <input type="hidden" name="prefermaskfilter" value="" />
+ <input type="hidden" name="display" value="2" />
+ <input type="hidden" name="nav" value="all" />
+ <div style="font-size:16px; display:block; float:right; padding-top:1px;">
+ <input type="submit" name="Enter" value="Search" />
+ </div>
+ </div>
+ <p style="clear:both;"></p>
+</form>
+This does not use a style sheet file to make the integration into another web page with a different style sheet easier.
+You would need to change the following items:
+<ul>
+<li>Replace the given colors #eeeeee (box background) and #cccccc (box border)</li>
+<li>Replace the word "MySearch" with your own message</li>
+</ul>
+
+ #%env/templates/footer.template%#
+ </body>
+</html>