On this page https://developers.google.com/search-appliance/documentation/64/feedsguide it talks about XML input feeds starting with:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA Feeds//EN" "">
<gsafeed>
<header>
<datasource>sample_feed</datasource>
<feedtype>full</feedtype>
</header>
<group>
<record url="http://www.localhost.test.com/" action="add" mimetype="text/html">
<content><![CDATA[ ...
...etc...
But oddly in the SalesForce connector, the OUTPUT of the SOAP XSLT (which I believe is then sent to Google) looks like:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<documents>
<document>
<spiheaders>
<spiheader name="DEFAULT_MIMETYPE">text/html</spiheader>
<spiheader name="PROPNAME_ACTION">add</spiheader>
<spiheader name="PROPNAME_CONTENTURL">https://cs2.salesforce.com/500i0000002gIysAAE</spiheader>
<spiheader name="PROPNAME_DISPLAYURL">https://cs2.salesforce.com/500i0000002gIysAAE</spiheader>
<spiheader name="PROPNAME_DOCID">500i0000002gIysAAE</spiheader>
<spiheader name="PROPNAME_ISPUBLIC">true</spiheader>
<spiheader name="PROPNAME_MIMETYPE">text/html</spiheader>
<spiheader name="PROPNAME_SEARCHURL"/>
<spiheader name="PROPNAME_SECURITYTOKEN"/>
</spiheaders>
<metadata>
<meta name="CaseNumber">00001000</meta>
</metadata>
<content encoding="none"><![CDATA[
...
...etc...
I believe SaleForce initially returns SOAP XML with its own fields, but then the connector applies the XSLT of your choice to convert it into XML destined for the Google Appliance.
So is the <gsafeed>
just a newer dialect of GSA over some older <documents>
dialect?
Note: I did search on google, but I keep finding the SalesForce specific doc. And search terms like "documents" aren't very helpful.