O.K. Bobsie,
I've modified the category.db as you said,
and rebuilt the pages. Wow! The NULL stuff disappeared off the web page. the problem now is :
=========================================
1. I still don't see the 'rate it' icon next to the old links.I manually added a new link with the popularity as 10, and it showed up in the
ratings page, but that link too did not have
the 'rate it' icon next to it, in the search results.
==========================================
2. I had successfully added a link to other
search engines if the links (1.1)search failed, that does not seem to work now in 2.0! This is the search that is executed --> minus keywords =
Eg : www.altavista.digital.com/cgi-bin/query?q=
I got the mod from a posting on this BB. I've pasted it at the end of this message..
============================================
3. Am I missing some new features by not using the new site_html.pl? 2.0 seems to have a search feature built in.
The new CSS stuff really confuses me, so I am still using the old site_html, but I have pasted the new stuff mentioned in the readme.txt.
=============================================
Sorry for the barrage of questions. Really appreciate your help.
Regds
Joe
-=============
This mod below does not work on 2.0 -->
I remember the posting mentioned adding a line of code to the search.cgi, I
guess this could be the problem, because the new search.cgi looks totally different.
I'd be glad if you could tell me where I am going wrong..I've pasted the code below (from the old posting) :
===========================================
wirthit
posted February 07, 1999 03:55 PM PST
not sure if this is what you are looking for it was written by Craig Antill (Sorry Craig if I spelt that
wrong.)
Introduction
This is a modification to
Gossamer Threads' Links Engine 1.1 which I was asked to implement on a
site I was working on. It is a pretty straightforward mod which will allow you to show a 'now search
these engines...' feature.
It allows that when a search on the database is made, either successful or not, that the user is
presented with the option to carry out a further search on various other search engines. This is
similar to the option you have on Yahoo! after a similar search.
--------------------------------------------------------------------------------
Instructions
First of all, do the sensible thing - BACK ALL YOUR FILES UP!!! this includes all files in /links and
/links/admin. I can't, and won't, be responsible for any errors - self induced, or otherwise - which
result from this modification...
--------------------------------------------------------------------------------
Open search.cgi and make the following changes:
In sub main, follow this section:
# Boolean connector defaults to "and".
if (!$in{'bool'}) { $in{'bool'} = 'and'; }
Add this:
# Stores the query in $term seperated by a +
$term = $in{'query'};
$term =~ tr/ /+/;
--------------------------------------------------------------------------------
Open site_html.pl and make the following changes:
Add these lines to sub site_html_search_results where you wish it to be output:
Now Try This Search On:
<BR><BR>
<A HREF="http://www.infoseek.com/Titles?qt=$term">Infoseek</A> |
<A HREF="http://www.altavista.digital.com/cgi-bin/query?q=$term">Altavista</A> |
<A HREF="http://search.yahoo.com/bin/search?p=$term">Yahoo</A> |
<A HREF="http://search.excite.com/search.gw?search=$term">Excite</A> |
<A HREF="http://www.hotbot.com/?MT=$term">Hotbot</A> |
<A
HREF="http://www.lycos.com/cgi-bin/pursuit?matchmode=and&cat=lycos&query=$term">Lycos</A>
Finally, add these lines to sub site_html_search_failure where you wish it to be output:
Search Again? Use the search form below to search the $site_title database, or select any of these
fine search engines to search their more general databases
<BR><BR>
Try This Search On:
<BR>
<A HREF="http://www.infoseek.com/Titles?qt=$term">Infoseek</A> |
<A HREF="http://www.altavista.digital.com/cgi-bin/query?q=$term">Altavista</A> |
<A HREF="http://search.yahoo.com/bin/search?p=$term">Yahoo</A> |
<A HREF="http://search.excite.com/search.gw?search=$term">Excite</A> |
<A HREF="http://www.hotbot.com/?MT=$term">Hotbot</A> |
<A
HREF="http://www.lycos.com/cgi-bin/pursuit?matchmode=and&cat=lycos&query=$term">Lycos</A>
Bob Wirth
Wirthit.com
[This message has been edited by Joe Louis (edited February 18, 1999).]