Note that there are some explanatory texts on larger screens.

plurals
  1. POReturn metadata fields in Google Search Appliance result
    text
    copied!<p>I'm working with a Google Search Appliance machine using the feed type metadata-and-url.</p> <p>I posted the feed to the GSA machine sucessfully, but when I do a search (using my appliance URL) to get the XML from the GSA machine, I cannot see the metadata in the returning XML. Should I use some querystring parameter?</p> <p>Any idea?</p> <p>This is the xml posted to the GSA machine:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;!DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA Feeds//EN" ""&gt; &lt;gsafeed&gt; &lt;header&gt; &lt;datasource&gt;TestXMLFeed&lt;/datasource&gt; &lt;feedtype&gt;metadata-and-url&lt;/feedtype&gt; &lt;/header&gt; &lt;group&gt; &lt;record url="http://www.WHATEVERURL" action="add" mimetype="text/html" lock="true"&gt; &lt;metadata&gt; &lt;meta name="Creator" content="testcreator"/&gt; &lt;meta name="Project" content="testproject"/&gt; &lt;meta name="TypeOfContent" content="testtypeofcontent"/&gt; &lt;/metadata&gt; &lt;/record&gt; &lt;/group&gt; &lt;/gsafeed&gt; </code></pre> <p>This is what I get from the search:</p> <pre><code>&lt;GSP VER="3.2"&gt; &lt;TM&gt;0.010752&lt;/TM&gt; &lt;Q&gt;Test page&lt;/Q&gt; &lt;PARAM name="q" value="testpage" original_value="testpage"/&gt; &lt;PARAM name="site" value="test" original_value="test"/&gt; &lt;PARAM name="sort" value="date:D:L:d1" original_value="date:D:L:d1"/&gt; &lt;PARAM name="oe" value="UTF-8" original_value="UTF-8"/&gt; &lt;PARAM name="ie" value="UTF-8" original_value="UTF-8"/&gt; &lt;PARAM name="ud" value="0" original_value="0"/&gt; &lt;PARAM name="ip" value="whateverip" original_value="whateverip"/&gt; &lt;PARAM name="access" value="p" original_value="p"/&gt; &lt;RES SN="1" EN="1"&gt; &lt;M&gt;1&lt;/M&gt; &lt;XT/&gt; &lt;R N="1"&gt; &lt;U&gt;http://www.WHATEVERURL&lt;/U&gt; &lt;UE&gt;http://www.WHATEVERURL&lt;/UE&gt; &lt;T&gt;Test title&lt;/T&gt; &lt;RK&gt;8&lt;/RK&gt; &lt;CRAWLDATE&gt;1 Feb 2011&lt;/CRAWLDATE&gt; &lt;FS NAME="date" VALUE=""/&gt; &lt;S&gt; Summary test &lt;/S&gt; &lt;LANG&gt;es&lt;/LANG&gt; &lt;HAS&gt; &lt;L/&gt; &lt;C SZ="5k" CID="o7iCf_ghuzAJ" ENC="UTF-8"/&gt; &lt;/HAS&gt; &lt;/R&gt; &lt;/RES&gt; &lt;/GSP&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload