<<Previous: Ranked Rows | ↑Up: Search Settings | Next>>: File URL Format |
Syntax: names separated by newlines
XML Export Variables
is a list of variables, one per line, that are to be
displayed and propagated through XML search results. This can be used to
propagate HTTP headers from the client's request, or for including arbitrary
extra information.
HTTP Headers
You can specify the header name in all caps, with underscores for spaces, and
with a HTTP_
prefix. For example, to include "User Agent", specify
HTTP_USER_AGENT
.
Arbitrary variables
You can specify any named variable, and values passed in to the search query will be propagated in the XML output.
For example, if you use cbtGroup
and HTTP_USER_AGENT
, and the
search URL includes ...&cbtGroup=user&cbtGroup=backup&...
, then the
following block will appear in the XML output:
<exportVar>
<variable name="HTTP_USER_AGENT">Mozilla/5.0 ....</variable>
<variable name="cbtGroup">user</variable>
<variable name="cbtGroup">backup</variable>
</exportVar>
<<Previous: Ranked Rows | ↑Up: Search Settings | Next>>: File URL Format |