PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Placing the query string in the results URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Placing the query string in the results URL

    Can I get the query string to appear in the results URL, for example, the resulting docment is displayed with the URL:

    http://www.domain.com/pages/found.htm?s=search+string
    where "search string" is my query.

    This way I could get a third party script to highlight the query string, without having to modify every file, by changing the base URL to produce a URL of the form:

    http://www.domain.com/display.php?fi...=search+string

    Regards,
    Ian Tresman

  • #2
    When you enable "Jump to match and highlight within document" (under "Results Layout"), Zoom will add the search query to the result URL like so:

    http://www.mysite.com/mypagefound.ht...=search+string

    You may still need to come up with a way to prefix all your URLs with your third party script and pass the filename as a parameter accordingly.

    FYI, we are considering a feature to allow in-document highlighting without having to modify every page, however we won't be looking at this until Version 5.0 which is still some time away.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X