I would like to make a (html) form which enables me to do a custom Google search query. If I enter for example 10 keywords in a text area (every line contains a word), I should see how much "Estimated results" there are for every keyword. asked 19 May '10, 10:36 Hendrik rfelsburg ♦ |
The question has been closed for the following reason "Question is off-topic or not relevant. Referred to Superuser.com/StackOverflow.com" by rfelsburg 04 Jul '11, 23:29
I am afraid that just using plain old HTML would not allow you to perform the functionality you want. You would have to use some kind of server-side scripting language such as PHP, for example, or AJAX through using JavaScript. Going into the specifics of using these languages are way outside the scope of this answer so I'd recommend you spend some time learning from the vast amount of resources on the web available for that. Try using Google ;) for searching for some tutorials to get this done. Also, take a look at the JQuery javascript framework as they make implementing AJAX style functionality a lot easier. answered 19 May '10, 10:47 Gareth |
answered 19 May '10, 11:00 maszynista I understand that I have to use that API. http://code.google.com/apis/ajaxsearch/documentation/reference.html#_class_GSearch I see that I have to use google.search.Search and then: .estimatedResultCount - supplies the estimated number of results that match the current query. Note that this value will not necessarily match the similar value thats visible on the Google.com search properties. But how do I use that?
(19 May '10, 11:07)
Hendrik
see Code Playground for examples
(19 May '10, 11:22)
maszynista
|
This is not associated to Linux. Try superuser.com or stackoverflow.com.
Please accept an answer, or provide more details on what you're looking for, or if you've moved your question.