I am not following this. What are you using to search altavista, yahoo, etc.? If you are using the default Links, it works as is right out of the archive. I modified mine and it looks like this:
Quote:
<form action="<%db_cgi_url%>/search.cgi" method="GET">
<table cellpadding=10 align="center" valign="top" border=1 bgcolor="#D5E8E8">
<tr><td align="center" valign="top">
<b>Search again?</b><br>
<input type="text" size=30 name="query" value="<%query%>">
<input type=submit value="Search!"><br>
<small>
<a href="<%db_cgi_url%>/search.cgi">Advanced Search</a>
</small>
<hr width="50%">
<!-- Other Search Engines Begins -->
<b>Or Try Your Search For<br>
"<font color="#FF0000"><%query%></font>"<br>
Using One of These Search Engines:</b><br>
<small>
<a href="http://www.altavista.digital.com/cgi-bin/query?pg=q&what=web&q=<%term%>" target="jumpto">Altavista</a>
| <a target="jumpto" href=http://www.amazon.com/exec/obidos/external-search?mode=books&keyword=<%term%>&tag=bobsgoodstufflis">Amazon.com</a>
| <a target="jumpto" href="http://www.dejanews.com/dnquery.xp?QRY=<%term%>">Deja News</a>
| <a href="http://www.excite.com/search.gw?search=<%term%>" target="jumpto">Excite</a>
| <a href="http://www.hotbot.com/?SW=web&SM=SC&RG=NA&_v=2&DC=10&DE=2&MT=<%term%>" target="jumpto">Hotbot</a>
| <a href="http://www.infoseek.com/Titles?col=WW&sv=IS&lk=noframes&nh=10&qt=<%term%>" target="jumpto">Infoseek</a>
| <a href="http://www.looksmart.com/r_search?key=<%term%>" target="jumpto">Looksmart</a>
| <a href="http://www.lycos.com/cgi-bin/pursuit?cat=lycos&maxhits=20&query=<%term%>" target="jumpto">Lycos</a>
| <a href="http://search.go2net.com/crawler?general=<%term%>&method=0&target=®ion=0&rpp=20&timeout=5&hpe=10" target="jumpto">MetaCrawler</a>
| <a href="http://search.yahoo.com/search?o=1&d=y&za=default&p=<%term%>" target="jumpto">Yahoo</a>
</small>
<!-- Other Search Engines Ends -->
</td></tr></table>
</td></tr></table>
</form>
That is from my template file, search_results.html. For non-templates, it would go in site_html.pl, sub site_html_search_results and would look like this:
Quote:
<form action="$db_cgi_url/search.cgi" method="GET">
<table cellpadding=10 align="center" valign="top" border=1 bgcolor="#D5E8E8">
<tr><td align="center" valign="top">
<b>Search again?</b><br>
<input type="text" size=30 name="query" value="$in{'query'}">
<input type=submit value="Search!"><br>
<small>
<a href="$db_cgi_url/search.cgi">Advanced Search</a>
</small>
<hr width="50%">
<!-- Other Search Engines Begins -->
<b>Or Try Your Search For<br>
"<font color="#FF0000">$in{'query'}</font>"<br>
Using One of These Search Engines:</b><br>
<small>
<a href="http://www.altavista.digital.com/cgi-bin/query?pg=q&what=web&q=$term" target="jumpto">Altavista</a>
| <a target="jumpto" href=http://www.amazon.com/exec/obidos/external-search?mode=books&keyword=$term&tag=bobsgoodstufflis">Amazon.com</a>
| <a target="jumpto" href="http://www.dejanews.com/dnquery.xp?QRY=$term">Deja News</a>
| <a href="http://www.excite.com/search.gw?search=$term" target="jumpto">Excite</a>
| <a href="http://www.hotbot.com/?SW=web&SM=SC&RG=NA&_v=2&DC=10&DE=2&MT=$term" target="jumpto">Hotbot</a>
| <a href="http://www.infoseek.com/Titles?col=WW&sv=IS&lk=noframes&nh=10&qt=$term" target="jumpto">Infoseek</a>
| <a href="http://www.looksmart.com/r_search?key=$term" target="jumpto">Looksmart</a>
| <a href="http://www.lycos.com/cgi-bin/pursuit?cat=lycos&maxhits=20&query=$term" target="jumpto">Lycos</a>
| <a href="http://search.go2net.com/crawler?general=$term&method=0&target=®ion=0&rpp=20&timeout=5&hpe=10" target="jumpto">MetaCrawler</a>
| <a href="http://search.yahoo.com/search?o=1&d=y&za=default&p=$term" target="jumpto">Yahoo</a>
</small>
<!-- Other Search Engines Ends -->
</td></tr></table>
</td></tr></table>
</form>
I hope this helps.
[This message has been edited by Bobsie (edited June 02, 1999).]