Can't get this to work with yahoo...

liunx

Guest
I know no (DOC type yet)<br />
With this code both AllTheWeb and Google will search right off a page without having to retype it at the SE's site. I can't get it to work with Yahoo's SE. Any ideas on this. Thanks<br />
<br />
<br />
<html><br />
<head><br />
<title>test</title><br />
<meta name="Description" content=""><br />
<meta name="Keywords" content=""><br />
<meta name="Author" content=""><br />
<meta name="Generator" content=""><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
</head><br />
<body><br />
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center bgColor=#CCCCCC border=0><br />
<TBODY><br />
<TR><br />
<TD><br />
<TABLE class=solidborder cellSpacing=0 cellPadding=2 width="100%" align=center bgColor=white><br />
<TBODY><br />
<TR><br />
<TD><br />
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center bgColor=#aabbcc border=0><br />
<TBODY><br />
<TR><br />
<TD><br />
<TABLE cellSpacing=1 cellPadding=4 width="100%" border=0><br />
<TBODY><br />
<TR><br />
<TD class=maintitle1 colSpan=1></TD></TR><br />
<br />
<TABLE cellSpacing=1 cellPadding=4 width="100%" border=0><br />
<TBODY><br />
<TR><br />
<TD class=maintitle1 colSpan=1><br />
</TD></TR><br />
<br />
<br />
<center><br />
<br />
<table><tr><br />
<br />
<br />
<td><FORM method=GET action="http://www.AllTheWeb.com/search" target="_blank"><font size=+1 font color="blue">AllTheWeb<br />
<INPUT TYPE=text name=q size=20 maxlength=255 value="" style="font-size:10px"><br />
<INPUT type=submit name=btnG VALUE="Search" style="font-size:10px"></font></form></td><br />
<td><FORM method=GET action="http://www.google.com/search" target="_blank"><font size=+1>Google<br />
<INPUT TYPE=text name=q size=20 maxlength=255 value="" style="font-size:10px"><br />
<INPUT type=submit name=btnH VALUE="Search" style="font-size:10px"></font></form></td><br />
<td><FORM method=GET action="<br />
<!-- m --><a class="postlink" href="http://yahoo.com/search">http://yahoo.com/search</a><!-- m -->" target="_blank"><font size=+1 font color="red">Yahoo<br />
<INPUT TYPE=text name=q size=20 maxlength=255 value="" style="font-size:10px"><br />
<INPUT type=submit name=btnI VALUE="Search" style="font-size:10px"></font></form></td><br />
</tr></table></center><br><br />
<table border=0 width="92%" cellspacing="0" cellpadding="0" class="bordercolor" align="center" style="position: relative; bottom: 14px;"><br />
<tr><br />
<td><br />
<table cellpadding="4" cellspacing="1" border="0" width="100%"><br />
<tr><br />
<td class="catbg" colspan="2"> <font size="2" class="catbg"><b><br />
<br />
<br />
</body><br />
</html><!--content-->Hint<br />
When you search yahoo the url you get is<br />
<br />
<!-- m --><a class="postlink" href="http://search.yahoo.com/bin/search?p=something">http://search.yahoo.com/bin/search?p=something</a><!-- m --><br />
<br />
where something is what you searched for.<br />
<br />
I hope this helps.<br />
:pimp:<!--content-->this is yahoo's search action<br />
<br />
r/sx/*-http://search.yahoo.com/bin/search<br />
<br />
seems they do some wierd stuff too. and the form has a hidden variable called "p"<br />
<br />
also I seen some wierd stuff on yahoo. <br />
<br />
<spacer type=block width=1 height=1><br />
<br />
what the heck is that? they are not running xml, in fact they don't even have a doctype. yahoo is so way out of compliance :)<!--content-->I've noticed that too. Who do they think they are anyway??? <br />
yahoo != :king:<br />
<br />
BTW,<br />
<spacer> (<!-- m --><a class="postlink" href="http://www.htmlcodetutorial.com/images/_SPACER.html">http://www.htmlcodetutorial.com/images/_SPACER.html</a><!-- m -->) is a netscape only tag. It's about as compliant as<br />
<comment>Look at my comment</comment><br />
Peace,<br />
Ed<!--content-->http://docs.yahoo.com/docs/yahootogo/search<!--content-->Originally posted by eddyd84 <br />
I've noticed that too. Who do they think they are anyway??? <br />
yahoo != :king:<br />
<br />
BTW,<br />
<spacer> (<!-- m --><a class="postlink" href="http://www.htmlcodetutorial.com/images/_SPACER.html">http://www.htmlcodetutorial.com/images/_SPACER.html</a><!-- m -->) is a netscape only tag. It's about as compliant as<br />
<comment>Look at my comment</comment><br />
Peace,<br />
Ed <br />
exactly, non w3 compliant.... stupid yahoo :P<!--content-->Originally posted by fredricknish <br />
<!-- m --><a class="postlink" href="http://docs.yahoo.com/docs/yahootogo/search">http://docs.yahoo.com/docs/yahootogo/search</a><!-- m --> <br />
<br />
Thanks for the link, that did the trick!<!--content-->
 
Back
Top