Add search engines using xmlaccess.sh
To add search engines using xmlaccess.sh, you import them by an XML script file. To verify the search mechanism works correctly, add the capability HTML_SEARCH. Here is an example XML script, with the HTML_SEARCH capability highlighted:
<?xml version="1.0" encoding="UTF-8"?> <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_1.4.xsd" type="update" create-oids="true"> <portal action="locate"> <client action="update" uniquename="wps.client.search.Your Search Engine Name" manufacturer="Your Search Engine Manufacturer" markup="html"> <useragent-pattern>Your User-Agent Pattern</useragent-pattern> <client-capability update="set">HTML_SEARCH</client-capability> <client-capability update="set">HTML_4_0</client-capability> <client-capability update="set">HTML_IFRAME</client-capability> <client-capability update="set">HTML_FRAME</client-capability> <client-capability update="set">HTML_NESTED_TABLE</client-capability> <client-capability update="set">HTML_2_0</client-capability> <client-capability update="set">HTML_JAVASCRIPT</client-capability> <client-capability update="set">HTML_3_2</client-capability> <client-capability update="set">HTML_3_0</client-capability> <client-capability update="set">HTML_CSS</client-capability> <client-capability update="set">HTML_TABLE</client-capability> </client> </portal> </request>
Parent Client identification for search of the portal by external search enginesRelated concepts:
xmlaccess.sh
Related information
Work with xmlaccess.sh