Depco Posted January 28, 2005 Posted January 28, 2005 I see many web sites that let you search for pages and documents within that site. I need something that will work with html, txt and most importantly pdf. What do you use? Quote
TCH-Bruce Posted January 28, 2005 Posted January 28, 2005 I use FastFind but it does not do PDF files. Quote
Deverill Posted January 28, 2005 Posted January 28, 2005 I don't remember where I got this but here's a way to get Google to search your site only. > <!-- SiteSearch Google --> <FORM method=GET action="http://www.google.com/search"> <TABLE bgcolor="#FFFFFF"> <tr> <td><A HREF="http://www.google.com/"> </A> </td> <td width="50%"><INPUT TYPE=text name=q size=31 maxlength=255 value=""> <INPUT type=submit name=btnG VALUE="Google Search"> <font size=-1> <input type=hidden name=domains value="http://www.******/"> <br> <input type=radio name=sitesearch value="http://www.******" checked> Your Site Name Here <input type=radio name=sitesearch value=""> The entire web <br> </font> </td> <td class="search">*Please be aware that recent changes may not appear in a Google search. </td> </tr> </TABLE> </FORM> <!-- SiteSearch Google --> Hope it helps! Quote
TCH-Thomas Posted January 28, 2005 Posted January 28, 2005 To Depco: I usee Freefind.com To Jim: Probably from http://www.google.com/searchcode.html Quote
Depco Posted January 28, 2005 Author Posted January 28, 2005 Thanks, that's a great piece of code to have. I copied this code into a test html page and tried it. Got great results but strangly when you try to search again from their results page it would not work. I removed the last forward slash "/" from the <input type=hidden name=domains value="http://www.******/"> line of code ind it worked great. Thanks. Quote
Deverill Posted January 28, 2005 Posted January 28, 2005 Yeah, Thomas, probably. I couldn't find the link. Glad it worked after your mod! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.