Please support our Pay-Per-Click Advertising advertiser: Get a Free Web Marketing Analysis!
Reply

Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Google Search

 
0
  #1
Jan 17th, 2005
This is a question to those who have AdSense and use the Google search on there site:
why do you have the google search box leave your website when you click submit (aka it goes to http://www.google.com/custom?q=....)?

Google has some APIs which allows you to query there servers and display the results on your website so that you never have to let the user leave your website. That and you can display the search page however you want. Are there some benefits to usign the custom one versus usign there API's (and completly customizing it)? And yes u can restrict the searches to just your website(s) or the entire web, it's really all up to you!
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 366
Reputation: Sphyenx is an unknown quantity at this point 
Solved Threads: 2
Sphyenx's Avatar
Sphyenx Sphyenx is offline Offline
Posting Whiz

Re: Google Search

 
0
  #2
Jan 17th, 2005
thats pretty cool, are there written documents on how you can do that? or is it in the web dev. script (html, javascript etc.)
is this a dream



We should all respect Dani, shes the admin and she does a damn good job!. Not to forget the rest of the mod's =)


http://img.photobucket.com/albums/v5...46/Sphyenx.jpg
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: Google Search

 
0
  #3
Jan 18th, 2005
they give some examples in there api (including some in java and C++)
http://www.google.com/apis/

you could follow those (if not I could give a copy of the source code I used)
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,035
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Google Search

 
0
  #4
Jan 18th, 2005
Using Google's (non-API) version is incredibly easy to implement and you get money when searchers click on sponsored links. When using the API version, none of the sponsored links show up (and until recently, google prohibited displaying AdSense on search result pages.) Of course you need programming experience to use the API version. But aside from that, one of the main reasons I don't use it here is because Google restricts you to a maximum number of searches per day, which isn't always practical with largescale sites.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 34
Reputation: VSBrown is an unknown quantity at this point 
Solved Threads: 0
VSBrown's Avatar
VSBrown VSBrown is offline Offline
Light Poster

Re: Google Search

 
0
  #5
Feb 21st, 2005
I have a version of Google Search using the API on my site. I tried to integrate it to give the same features and feel of the actual Google Search page.

http://www.vebro.net/websearch.asp

Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,035
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Google Search

 
0
  #6
Feb 21st, 2005
I remember reading that Google's API restricted you to a maximum number of searches per day. Is this true? How limiting is Google's API, exactly?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 34
Reputation: VSBrown is an unknown quantity at this point 
Solved Threads: 0
VSBrown's Avatar
VSBrown VSBrown is offline Offline
Light Poster

Re: Google Search

 
0
  #7
Feb 21st, 2005
My version combines ASP and the Google API so using some tricky coding technique's I was able to throw together a nice usable search page.

As for the limit number of Google's API, that is true and is limited to 1,000 queries per day. (http://www.google.com/apis/api_faq.html#gen7)
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: Google Search

 
0
  #8
Feb 21st, 2005
you are limited to 1000 queries a day, and only 10 results per query...
however you can specify an offset like VSBrown did to display more results... another thing you could do if you wanted to get 50 or 100 results in 1 page is just put the code in a loop and get 10 results each time so you could put as many as you want on a page
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Pay-Per-Click Advertising Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC