Get search results
Default html interface
http://web.search.cornell.edu/search?client=default_frontend&site=libraries&q=canoe
Via web service
Modifying the search form
Code Blocknoformat |
---|
<form action="search_browse.php" method="GET" name="gs"> <div<div id="search-input"> <label <label for="search-form-query">SEARCH:</label> <input <input type="text" name="q" value="{$search_query}" size="20" maxlength="256" id="search-form-query" /> <input <input type="submit" name="btnG" value="go" id="search-form-submit" /> <input <input type="hidden" name="output" value="xml_no_dtd" /> <input <input type="hidden" name="sort" value="" /> <input <input type="hidden" name="ie" value="UTF-8" /> <input <input type="hidden" name="client" value="default_frontend" /> <input <input type="hidden" name="oe" value="UTF-8" /> <input <input type="hidden" name="site" value="default_collection" /> <</div> <div<div id="search-filters"> <input <input type="radio" name="sitesearch" value="{$thisSite}" {if empty($sitesearch) || ($sitesearch == "$thisSite")}checked="checked"{/if} id="search-filters1" /> <label <label for="search-filters1">This site</label> <input <input type="radio" name="sitesearch" value="cornell.edu" {if ($sitesearch == "cornell.edu")}checked="checked"{/if} id="search-filters2" /> <label <label for="search-filters2">Cornell</label> <a <a href="http://web.search.cornell.edu/" >more options</a> <</div> </form> |
...