Add a Voyager Search Box to a Webpage

Voyager provides easy to use APIs that let you build custom applications.

To add a Voyager search box to a web page:

  • Use the following code:

<html lang="en">

<head>

<meta charset="utf-8"/>

<title>Search Voyager</title>

</head>

<body>
<form id="searchForm" action="http://localhost:8888">
<input type="text" id="searchField" name="q" placeHolder="Search Voyager"/>
<input type="button" value="Submit"/>
</form>
</body>
</html>

 

Note: Change the action attribute of the form to the correct URL