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:
to the top of the HTML_Templates.pm 'use' list, and
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
use Links:
I've created a few different routines, and can test/debug each of them and use them separately.
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 ();<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
use Links:
