As well as the standard web interface, the Google Mini and Google Search Appliance have an XML interface which gives you a results set back in XML.
To access the XML, you use a scripting language to use HTTP GET with a particular URL:
For XML without a DTD:
Where ‘www.miniaddress.com’ is the address of your search appliance (this can also be an IP address,) ‘collectionname’ is the name of your collection, and ‘searchphrase’ is what you are searching for.
If you want the DTD, change output=xml_no_dtd to output=xml
You can set lots of flags in the URL to do things like change the start number of the results set, or change the encoding of the results coming back to UTF-8 or latin. You can look up the various flags in the GSA XML reference.