Best viewed in 1024 X 800 resolution... Leave a comment if u like an article...
Google
 
Web tezcols.blogspot.com

Tuesday, July 11, 2006

Use Google Search Technique exclusively for your website...

hi

i thought of a problem many times... I askd many of my frnz.... but I couldn't get the solution... n now i hav the solution...

This is my Q...

If I have a website with a lot of stuff....so many pages... so many categories....

Actually i got this problem when i started building a website...

that website will hav humongous amount of pages.... different dishes tht can be made in ur kitchen....

If a user visits the website.... and wants to search for some item say preparing chapati.... they need to search it manually by looking at all the links... thts really a bad solution.... so wht can we do...

yep... u r right... v shud provide a search box.... coollllllllll.........

but how can v write an algorithm to search all our pages depending on the search key provided by the user.... its not tht easy....

hey cooolllllllll..... thts the reaon i posted this article...

google... helps us.... u can link to google for searching exclusively in your website...

the search will not include results of any other external websites.....

google wil search only in your website (site in which u provided search box)...


this is the code u can use in ur pages...

change the value of sitesearch to the website u desire google to search in...

thts it.. its ready...

<html>
<form method='get' action='http://www.google.com/search'>
<div style='border:1px solid black; padding:4px; width:20em; '>
<table border='0' cellpadding='0'>
<tr> <td>
<input type='text' name='q' size='25' maxlength='255' value=''>
<input type='submit' value='Google Search'> </td> </tr>
<tr> < td align='center' style='font-size:75%'>
<input type='checkbox' name='sitesearch' value='anusharaji.com' checked /> only search anusharaji
</td> </tr>
</table>
</form>
</html>

tezcols

Labels:

0 Comments:

Post a Comment

<< Home