branding search results page

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

branding search results page

Post by Thunderstone »




Hello,

I have a webinator search running at:

http://www.nyu.edu/library/bobst/research/tsd/

and want to include on the search results page the banner image on
top and the footer links on the bottom of the above page. To
complicate matters, webinator is being used by many departments
within the library all requiring that different banners and footers
be on the search results page.

What is the most straightforward way to have the "branding" of the
search results page?

Also, I am wondering if we can get the search results page to give a
"KWIC" (key word in context) output.


Thank you in advance for any assistance you can provide me in these
matters.


William Keaveney


{}{}{}{}{}{}{}{}{}{}


User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

branding search results page

Post by Thunderstone »



You have two options for branding. If each "brand" is using a different
database, you can simply place the desired html into the files top.html
and bottom.html in each database directory.

If the "brand"s share database, you could add a hidden variable to the
search form that indicated the proper brand. (You would also probably
want to <export> that variable.) Then in the scripts <top> and <bottom>
functions output the proper html based on the brand.

Simple example:
<switch $brand>
<case tsd><img src=/images/tsdbanner.gif alt="TSD">
<case library><img src=/images/librarybanner.gif alt="Library">
</switch>

As for KWIC, clicking on "Match info" will show all matches within
the document. If you also want the document summaries on the results
list to show the first hit, see "hit context" example search at
http://www.thunderstone.com/webinator/example/




Post Reply