Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

top 5 search terms

Quote Reply
top 5 search terms
I've been looking for a way to adjust the search pages to show a variety of stats from the search database.

Modifying a 'top5' routine that was written before, you can generate a bunch of variables that hold a list of data.

I _don't_ use SSI, so i have no way to make that sort of version work.

But, here is a list of things to do to add a <%top5%> tag to any of the templates that use HTML_Templates.pm -- including search.cgi so you can put a suggested list in that file.

First:

Add:
Code:
use CGI ();
to the top of the HTML_Templates.pm 'use' list, and

<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
use Links: Smile I've created a few different routines, and can test/debug each of them and use them separately.
Subject Author Views Date
Thread top 5 search terms pugdog 5886 Apr 14, 2000, 10:15 AM
Post Re: top 5 search terms
pugdog 5837 Apr 14, 2000, 11:33 PM
Post Re: top 5 search terms
Elijanio 5820 Apr 15, 2000, 3:34 PM
Post Re: top 5 search terms
pugdog 5805 Apr 15, 2000, 4:39 PM
Post Re: top 5 search terms
Elijanio 5828 Apr 15, 2000, 5:07 PM
Post Re: top 5 search terms
pugdog 5827 Apr 15, 2000, 5:42 PM
Post Re: top 5 search terms
Elijanio 5842 Apr 15, 2000, 5:51 PM
Post Re: top 5 search terms
pugdog 5819 Apr 15, 2000, 7:54 PM
Post Re: top 5 search terms
Elijanio 5855 Apr 16, 2000, 6:26 AM
Thread Re: top 5 search terms
pugdog 5831 Apr 16, 2000, 7:03 AM
Thread Re: top 5 search terms
Christa 5815 Nov 9, 2000, 12:46 PM
Thread Re: top 5 search terms
pugdog 5784 Nov 9, 2000, 1:30 PM
Thread Re: top 5 search terms
Christa 5779 Nov 9, 2000, 1:52 PM
Thread Re: top 5 search terms
pugdog 5812 Nov 9, 2000, 3:12 PM
Thread Re: top 5 search terms
Christa 5818 Nov 9, 2000, 3:24 PM
Thread Re: top 5 search terms
pugdog 5815 Nov 9, 2000, 6:06 PM
Thread Re: top 5 search terms
Christa 5795 Nov 9, 2000, 7:27 PM
Thread Re: top 5 search terms
pugdog 5766 Nov 9, 2000, 7:31 PM
Thread Re: top 5 search terms
OneDanShow 5798 Nov 9, 2000, 10:27 PM
Thread Re: top 5 search terms
pugdog 5776 Nov 9, 2000, 11:01 PM
Post Re: top 5 search terms
pirl 5745 Nov 10, 2000, 3:27 AM