Brad Dominy

Google Onebox Employee Search

Our internal website uses a Google mini for searching. One of the features of the box is the ability to create onebox modules to return specialized results. The technology is based upon XSLT and XML, so the first part was to create a php script that took in a search string and then did a LDAP lookup matching against name, email, phone, and other fields. Any matches are returned as an XML set.

All names and personal info in the above images have been changed to protect the innocent

The second part uses XSLT to transform those results into HTML. We didn't want to clutter up the page with too many results, so I also wrote some javascript code that would hide and show additional results if more than three results were returned. If only one result is returned, we present a full set of information and the employee's image.

About me

Brad Dominy


By Language

By Frameworks