Adding parameters to the query. Any variable named in the option will be passed through from the query (e.g. via input type=hidden) to the XML.
Custom search link in XML
Custom search link in XML
I added two parameters to the search settings, and I do see them in the XML as showing up as part of the query strings of the links (<OrderLink>,<PageLink> etc), but not as nodes. Is that the expected behavior?
Custom search link in XML
They should occur as an <exportVar> node at the end, e.g.
<exportVar>
<variable name="x">1234</variable>
</exportVar>
<exportVar>
<variable name="x">1234</variable>
</exportVar>
John Turnbull
Thunderstone Software
Thunderstone Software
Custom search link in XML
OK, got it... that works great, thanks...
Custom search link in XML
Works great, but with two exceptions: When I click on "Find Similar" (cmd=mlt) or "Show Links" (cmd=links), the export variables do not seem to be created in the xml...
Custom search link in XML
We've verified that the <exportVar> tag doesn't appear on "Show Links" page, it'll be fixed in a scripts update.
It seems to be working ok for us in "Find similar" though. Are the CGI variables being passed in the URL properly? Is the <exportVar> block in the XML at all? (Adding "dropXSL=1" to the query will show the xml.)
It seems to be working ok for us in "Find similar" though. Are the CGI variables being passed in the URL properly? Is the <exportVar> block in the XML at all? (Adding "dropXSL=1" to the query will show the xml.)
-
- Posts: 15
- Joined: Tue Jul 05, 2005 11:05 am
Custom search link in XML
The CGI variables are being passed correctly in the URL, but the <exportVar> block is not present at all on the Show Links page. It does work correctly on Find Similar.
Gabe
Gabe
Custom search link in XML
Scripts 5.4.18 are now available, they fix the problem of <exportVar> not appearing on "Show Links" pages.