Raghuveersingh / google-ajax-apis

Automatically exported from code.google.com/p/google-ajax-apis
0 stars 0 forks source link

Restrict search to a country #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ability to point the search results to a specific country, but not in a way
that restricts all results to that country.  E.G searching google.co.uk

Original issue reported on code.google.com by lisba...@gmail.com on 1 May 2008 at 6:25

GoogleCodeExporter commented 9 years ago

Original comment by internal...@gmail.com on 1 May 2008 at 6:34

GoogleCodeExporter commented 9 years ago
Please try to realease this because I need to finish my license till 20 June.

Original comment by zipi...@yahoo.com on 3 Jun 2008 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by jrgeer...@gmail.com on 4 Jun 2008 at 12:33

GoogleCodeExporter commented 9 years ago
+1

Original comment by adrian.k...@gmail.com on 20 Jun 2008 at 6:11

GoogleCodeExporter commented 9 years ago
A definite must have feature!

Original comment by brenchley on 26 Jun 2008 at 7:26

GoogleCodeExporter commented 9 years ago
Definitivamente +1.

Original comment by tomaspollak on 3 Jul 2008 at 6:28

GoogleCodeExporter commented 9 years ago
Yes, please do that, we really need this feature. Thank you :D

Original comment by sorin.ne...@gmail.com on 12 Jul 2008 at 12:46

GoogleCodeExporter commented 9 years ago
Agreed.  It seems like this is an obvious feature that should have been 
implemented
from the beginning. 

Original comment by tokyojo...@googlemail.com on 17 Jul 2008 at 10:42

GoogleCodeExporter commented 9 years ago
It would be great!

Original comment by alessand...@gmail.com on 18 Jul 2008 at 12:40

GoogleCodeExporter commented 9 years ago
+1

Original comment by navnee...@gmail.com on 23 Jul 2008 at 12:00

GoogleCodeExporter commented 9 years ago
need it!

Original comment by boogashe...@googlemail.com on 25 Jul 2008 at 3:38

GoogleCodeExporter commented 9 years ago
This will be an absolutely useful feature and will be a complete replacement of 
the
old API.

Original comment by vki...@gmail.com on 18 Aug 2008 at 10:51

GoogleCodeExporter commented 9 years ago
When will it finally be possible to restrict to countries???

Right now the API is useless for everyone not living in the US. I don't 
understand
how such an important feature can still be missing... It's like building a car
without the engine!

Original comment by christia...@forestle.org on 17 Sep 2008 at 9:40

GoogleCodeExporter commented 9 years ago
THis would be great

Original comment by john%pro...@gtempaccount.com on 3 Oct 2008 at 3:57

GoogleCodeExporter commented 9 years ago
Definitely need it. Right now, I am building my own list ;/

Original comment by bashar.a...@gmail.com on 3 Oct 2008 at 4:35

GoogleCodeExporter commented 9 years ago
Please, pretty please.

This feature would be great.

Original comment by brods...@gmail.com on 25 Oct 2008 at 3:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Please,
Without this feature, local portals can't itegrate google search ;(

Original comment by supp...@i.ua on 13 Nov 2008 at 4:43

GoogleCodeExporter commented 9 years ago
What the hell google

Google search API is useless without this in any country but the US...

Makes the whole API a bit of a pointless joke really.

Original comment by stigma...@gmail.com on 17 Nov 2008 at 5:19

GoogleCodeExporter commented 9 years ago
There is another Issue number for this same problem:
http://code.google.com/p/google-ajax-apis/issues/detail?id=78&q=local%20search&c
olspec=ID%20Type%20Stars%20Status%20Modified%20Summary%20APIType%20Opened

Original comment by stigma...@gmail.com on 17 Nov 2008 at 5:22

GoogleCodeExporter commented 9 years ago
We need this feature too. I hope for a fix for this issue soon

Original comment by anders.n...@gmail.com on 24 Nov 2008 at 10:52

GoogleCodeExporter commented 9 years ago
this feature is absolutly needed !!!!!! 
Most important ! ... would pay for release :-D

Original comment by andreas....@gmail.com on 26 Nov 2008 at 2:26

GoogleCodeExporter commented 9 years ago
please!! :) 

Original comment by azn.guw...@googlemail.com on 30 Nov 2008 at 2:52

GoogleCodeExporter commented 9 years ago

Original comment by reicha...@gmail.com on 3 Dec 2008 at 8:48

GoogleCodeExporter commented 9 years ago
I would like to implement a news bar that prints Belgian news in the Dutch 
language
populated by sources that news.google.be uses. Although I managed to change the
language to Dutch by using &hl=nl in the api include, this typically draws from 
Dutch
news sources instead of Belgian ones.

Also it would be great to draw from a topic instead of using a keyword in the
executelist, e.g. news.google.be displays sports using &topic=s - is there an
equivalent for the news bar so that it draws from articles
in a google news topic? 

Original comment by jeroe...@gmail.com on 3 Dec 2008 at 9:15

GoogleCodeExporter commented 9 years ago
Please add this feature ASAP - the API is pretty much useless to me as a UK 
based
company if the only results being shown are targeted to the US!

Original comment by emails%g...@gtempaccount.com on 11 Dec 2008 at 7:22

GoogleCodeExporter commented 9 years ago
Re: jeroenv3's desire to find Belgian news in the Dutch language

If you're willing to tweak the gsnewsbar code, you can accomplish this.  All 
you have
to do is find the block where the NewsSearch object is initialized and use the
setRestriction method to add a geo restriction.  It's documented in the Class 
Reference.

Original comment by jrgeer...@gmail.com on 15 Dec 2008 at 3:05

GoogleCodeExporter commented 9 years ago
Important feature. Narrowing the search to a specific region. Looking forward 
to it.

Original comment by yoavna...@gmail.com on 24 Dec 2008 at 1:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by lisba...@google.com on 6 Jan 2009 at 10:48

GoogleCodeExporter commented 9 years ago
Please add it. Required for .co.uk data - as currently data is .com. Google are 
given credit for data from API and it looks like Google don't know what they 
are 
doing, from an end user point of view!

Original comment by ad...@reallyusefuldomains.com on 26 Jan 2009 at 2:39

GoogleCodeExporter commented 9 years ago
I think.. the priority for this changes is "HI"... a lot of projects out of US 
need
this. I search a -pach- solutions but... i couldn't ...

Which time for published this change, is possible now the date?

Original comment by guero....@gmail.com on 10 Feb 2009 at 4:59

GoogleCodeExporter commented 9 years ago
I fixed it the following ways:
When using a news bar with the wizard, load the search api thusly:
http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbw&hl=nl&ned=be
hl=nl is the language (nl being netherlands, dutch), ned=be is the news edition 
(be=belgian), so 
http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbw&hl=fr&ned=be
would call up French language news in Belgium
http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbw&hl=de&ned=de
would be German news search

For the regular search api you can use the language variable in the load 
function: 
      google.load('search', '1.0', {"language" : "nl_BE"});  

Use the ISO639 language code.

This should get you going in almost all cases.

Original comment by jeroe...@gmail.com on 11 Feb 2009 at 9:51

GoogleCodeExporter commented 9 years ago
This feature would be very-very important. My clients do not understand why 
regular
google.hu SERP and Search API results are so different. 

I tried to set gl and hl parameters explicitly but did not affect. Then I 
created a
CSE with the appropriate local parameter and added its id via the cx parameter, 
but
it also did not work. I am very sad.

MSN Live and Yahoo search APIs are able to handle local parameters correctly. 
Why
Google Search API do not support local searches?

Otherwise your Search API is great.

Best regards,
--Adam Mezei (Webman)

Original comment by InstantR...@gmail.com on 4 May 2009 at 7:27

GoogleCodeExporter commented 9 years ago
I am also waiting for this feature.. Right now its a huge limitation :-(

Original comment by w3engine...@gmail.com on 7 May 2009 at 1:19

GoogleCodeExporter commented 9 years ago
Sjeesh, I guess this is not going to happen anytime soon.

Original comment by Jon.Van....@gmail.com on 15 Nov 2009 at 8:22

GoogleCodeExporter commented 9 years ago
Actually, the ability to specify a localized version of Google (e.g., 
google.co.uk)
was introduced a few of weeks ago. Check out the blog announcement:

http://googleajaxsearchapi.blogspot.com/2009/10/web-search-in-your-country.html

Also note that this bug has been marked a dup of bug 78, which has been deemed 
fixed
by this introduction.

Original comment by jrgeer...@gmail.com on 15 Nov 2009 at 11:21

GoogleCodeExporter commented 9 years ago
Essential feature - for any location in the world! What use knowing that 
someone the other side of the globe has a commodity that you need tomorrow?
It used to be there. "Enhancement" has removed it.
I hate all that "quantum vibration crystal" semi-religious junk we get from the 
USA.
I'll see if the other search engines do better, and report back if I can make a 
recommendation.
Phil,
Gloucester

Original comment by f...@madasafish.com on 26 Mar 2011 at 1:05