LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 06-12-2005, 06:32 PM   #1
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
Code to search LQ.org w/Google.com


I found this out the other day for those that might be interested in making a 'homepage' for their local web browser that will search a domain you enter. You have to be online for it to work obviously.

So now you can search LinuxQuestions.org via Google.com if you use the Google.com way to search any domain. It's not the same way you search when you are a contributor here, if you know what I mean.

I forget the exact place at http://www.google.com that shows the code but I remember it's off the sitemap or help section.

I have it right here for those that don't want to bother and also have this link so you can test it > http://www.geocities.com/yodhewavhe/...ons/index.html

Code:
<!-- SiteSearch Google -->
<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" 
border="0" ALT="Google"></A>
</td>
<td>
<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="linuxquestions.org"><br><input type=radio name=sitesearch value=""> WWW <input type=radio name=sitesearch value="linuxquestions.org" checked> linuxquestions.org <br>
</font>
</td></tr></TABLE>
</FORM>
<!-- SiteSearch Google -->
 
Old 06-12-2005, 08:24 PM   #2
rksprst
Member
 
Registered: Jan 2004
Distribution: OS X 10.4
Posts: 172
Blog Entries: 1

Rep: Reputation: 30
theres another way to do this in google, type in:
Code:
your-search-words site:domain-name.com
 
Old 06-12-2005, 08:29 PM   #3
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
i think he's aware of that, it's just that this code will allow you to put a google search box on your site that will search a specific website from within your website, like maybe even your own website could be searched...
 
Old 06-12-2005, 08:35 PM   #4
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by win32sux
i think he's aware of that, it's just that this code will allow you to put a google search box on your site that will search a specific website from within your website, like maybe even your own website could be searched...

EXACTLY

That way instead of constantly typing the part the other posters help tip made you can have a fixed search engine on your website or point you local browser to an html on your local system with the code for the one site or the many sites you frequent. That way you have the best of both worlds!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using google to search LQ dr_zayus69 Linux - General 1 03-23-2005 08:23 AM
Google search on CD Zuggy General 1 12-17-2004 09:55 AM
Try this Google search the_imax General 11 12-12-2004 04:08 AM
Konqueror's Google Search Bar redjokerx Linux - Software 2 11-29-2004 03:45 AM
Google search feature Mik LQ Suggestions & Feedback 4 03-07-2003 01:52 AM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration