...
The GSA search controller requires configuration to build URLs for GSA searches. You will need to configure the base URL, some parameters, and the name of the stylesheet you'd like displayed when users click the "more results" link that goes to the GSA itself.
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- GSA search AJAX target --> <bean name="/gsaSearch" class="org.jasig.portlet.search.mvc.GsaSearchController"> <property name="googleBaseUrl" value="http://google.school.edu"/> <property name="googleParameters"> <map> <entry key="output" value="xml_no_dtd"/> <entry key="oe" value="UTF-8"/> <entry key="ie" value="UTF-8"/> <entry key="client" value="university_frontend"/> </map> </property> <property name="googleStylesheetName" value="university_frontend"/> <property name="view" ref="gsaView"/> </bean> |
The current version of the tabbed search portlet has only been tested against GSA version 3.2 at the current time. If Chances are that the supplied stylesheet will just work, but if you're using a different GSA version, you may need to add a new GSA XSLT file and change the stylesheet location to this new XSL transform.
...