Wrox Programmer Forums
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 29th, 2009, 03:19 PM
Authorized User
 
Join Date: Apr 2009
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default Script help

Dear friends

I am running queries on Google for about 18 questions and there are total 80+ websites that need to be looked into.

Honestly speaking I have no Javascript experience and knowledge but I have some exposure to Excel VBA scripting.

Can anybody tell me if it is possible to write a small piece of code that could search Google for all me 18 queries and return results in a text file.

At the beginning it could ask me name of website to be searched and then run my 18 queries on Google.

Is it possible? If it is and I get some help from you, it would make me feel like a million dollars.

SMI
 
Old August 30th, 2009, 05:55 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Google provides a set of web services to solve this problem. You'll need to sign up to their developer program to get a key first. You are limited to the number of searches per day so if it's a high usage application you'll need to pay for the service.
Once you have the key and have studied the API then you can use any one of the large number of JavaScript web service API libraries, such as jQuery, to call the service and read the results.
__________________
Joe
http://joe.fawcett.name/
 
Old August 30th, 2009, 09:04 AM
Authorized User
 
Join Date: Apr 2009
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default Script help

Dear Joe

Many thanks for your help. Could you please also advise how to get the key? Where to sign in for this?

Thank you very much again for the support you have extended.

Kind regards
SMI
 
Old August 30th, 2009, 09:07 AM
Authorized User
 
Join Date: Apr 2009
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default Script help

Dear Joe

Please ignore my last question. I have just found it:

http://code.google.com/qualify/

Thanks a lot.
SMI





Similar Threads
Thread Thread Starter Forum Replies Last Post
Change the order of client script / server script rupen ASP.NET 2.0 Basics 3 April 16th, 2009 01:41 PM
Script Help :) zere0 VBScript 6 December 7th, 2004 02:23 PM
looking for script 7474information Classic ASP Basics 4 October 22nd, 2004 02:48 AM
Call and run CGI script from a PHP script ... how? dbruins BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 June 10th, 2003 03:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.