Is there a way to place google's site search file so that when you are spidered that bloated code is not getting crawled through? I know this is a little 'anal' but...
haha, thanks for making fun of me Shawn, I want to place the site search code in an external file, whether js or php...
You could do it in an external JavaScript file... Something simple like: document.write('site search HTML code here'); Code (markup): Then just include that file in your normal html file like so: <script type="text/javascript" src="search.js"> </script> Code (markup):
Shawn, Are my .js skills that bad, is it not just a matter of putting the code in between the two ' ' and then calling the file search.js? I cannot get it to function...
Can anyone update me on how this should work? I have the necessary code. Do I need to have a .php extension on the page?
I would use a php include. something like: <?php virtual("oy.php"); ?>. A javascript will show in your page; but the php will not.