pmsguy
asked on
Display google results in my website
I want to dislay the google results in my website.
I am running PHP and want to dynamically display the google search engine results in my webpage.
The google results I assume will be displayed in a frame on my webpage.
For example, I have the query http://news.google.com/news?hl=en&ned=us&q=aflcio and I want the resulting data displayed on my website.
I am running PHP and want to dynamically display the google search engine results in my webpage.
The google results I assume will be displayed in a frame on my webpage.
For example, I have the query http://news.google.com/news?hl=en&ned=us&q=aflcio and I want the resulting data displayed on my website.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
in this case, the choice isn't about optimization. They are substantially different ways of doing this with significant trade-offs.
For an IFRAME, it's going to be obvious that you are just putting google in an IFRAME. and you won't be able to control anything about it.
For curl, google probably won't appreciate it.
a third option is that google has a search API that you can use, but I believe they charge to use it for any commercial purpose.
For an IFRAME, it's going to be obvious that you are just putting google in an IFRAME. and you won't be able to control anything about it.
For curl, google probably won't appreciate it.
a third option is that google has a search API that you can use, but I believe they charge to use it for any commercial purpose.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
It is also very much free: http://www.digitalpoint.com/tools/search/faq.html
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER