XML uq parameter

Post Reply
SteveV
Posts: 2
Joined: Tue Jun 28, 2005 10:21 am

XML uq parameter

Post by SteveV »

I am sending a search that has a uq parameter specifying the subweb I want searched. I returning the results using an XML stylesheet (though it seems to work the same on the standard results). This works fine, but on the results page, I seem to have "lost" the uq information. In other words, if I do another search, it will search everything. Is there a way to retain this information? Thanks!

Steve
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

XML uq parameter

Post by John »

You will need to add the hidden variable to the form in a similar manner to the profile, e.g.:

<INPUT TYPE="hidden" NAME="uq"><xsl:attribute name="VALUE"><xsl:value-of select="UrlQuery"/></xsl:attribute></INPUT>
John Turnbull
Thunderstone Software
SteveV
Posts: 2
Joined: Tue Jun 28, 2005 10:21 am

XML uq parameter

Post by SteveV »

I added this variable and it is passing it back in the results, but it is empty, even when I have a uq parameter in the search query. Is "UrlQuery" correct? Where can I find a list of valid values? Shouldn't I see the value in the raw XML, too? I don't see anything that has the uq that I'm passing, though the results are correct. Thanks!

Steve
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

XML uq parameter

Post by John »

It should be in the XML with scripts version 5.3.2 or higher. The additional values added then are:

TitleQuery - tq in Url - title search
DepthQuery - dq in Url - max depth search
CategoryQuery - cq in Url - category query
John Turnbull
Thunderstone Software
Post Reply