To access the Search Box Generator, navigate to the WorldCat Discovery and WorldCat Local module of the OCLC Service Configuration.
The Search Box Generator enables libraries to construct and customize advanced WorldCat Discovery search boxes. The output of the Search Box Generator is an HTML snippet that can be embedded on your homepage or LibGuides.
Note: OCLC Support does not troubleshoot customized HTML code for search boxes.
The first section of the Search Box Generator page displays a preview of the search box and the HTML code that can be copied and pasted into library pages to generate the search box. As changes are made to the search box settings, the preview and code update to match. The preview box is fully functional, searches can be run within the box to test configuration and view search results.
Click Copy to clipboard to copy and paste the HTML code to a separate application.
You must configure your databases in the Default Databases and Licensed Content module before generating an external search box.
Select a database or group of databases from the drop-down list to include in your search box. If no database or database group is selected, your configured default will be used.
Create a tabbed search experience with up to five tabs. Tabs allow users to search for a specific material or content type and exclude other materials from the search results. If no selection is made, the search box will search all materials by default.
To create a search tab:
The following formats can be selected for search tabs:
The following content types can be selected for search tabs:
The following icons are available for selection:
Control the order of your tabs. The first material in the format list will be considered the default selection. Use the arrow keys to reorder the list, or use your mouse to drag and drop the group name to the correct placement in the list. Press Enter or click out of the area to stop reordering.
In this section, you can configure default search behavior for the custom search box for the following settings:
Setting | Description |
---|---|
Select default grouping for search results |
Determine the grouping for search results Options include:
|
Keep filter selections for next search by default |
Determine whether the filters should remain for subsequent searches. |
Provide direct link to Advanced Search page |
Determine whether to provide a direct link to the Advanced Search page. |
Select default library scope |
If no default library scope is selected, your configured default will be used. |
Select default search index |
Options include:
|
Allow users to change search index |
Determine whether to display the search indexes for library users to select. |
Select default sort |
Options include:
|
In this section, you can configure the colors and text displayed in the search box. Select preferences for:
You can also supply custom text for the search box: