Rex C. Eastbourne wrote:
I like the idea of a search box. I created a Google custom search
engine for different LyX websites, including *.lyx.org and the mailing
lists here:
http://www.google.com/coop/cse?cx=008972033992887248866%3Aoarvwprmgvo
We can embed this search box and even the search results on the LyX
site with a small HTML/JS code snippet, but AFAIK those are not
enabled. However, I think this would be useful.
Note: the search engine takes seconds to create, in case someone wants
to create one of his own and tweak the settings.
Rex
By the way, here is the code snippet to embed the search box:
==================
<!-- Google CSE Search Box Begins -->
<form action="" id="cse-search-box">
<input type="hidden" name="cx"
value="008972033992887248866:oarvwprmgvo" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="text" name="q" size="25" />
<input type="submit" name="sa" value="Search" />
</form>
<script type="text/javascript"
src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
<!-- Google CSE Search Box Ends -->
==================
Here is the code snippet to embed the results:
==================
<!-- Google Search Result Snippet Begins -->
<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 600;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript"
src="http://www.google.com/afsonline/show_afs_search.js"></script>
<!-- Google Search Result Snippet Ends -->
==================