google ajax api results differ from normal search, why? [closed] - ajax

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I read about the Ajax API here Scraping/Parsing Google search results in Ruby
For some reason, I get completely different results from the same query when using the Ajax API than I do from normal search. Is there a simple explanation?
here are the two:
http://www.google.com/search?hl=en&rls=en&q=site%3Ahttp%3A%2F%2Ftwitter.com%2F+following&aq=f&oq=&aqi=0
http://ajax.googleapis.com/ajax/services/search/web?v=1.0&hl=en&rls=en&q=site%3Ahttp%3A%2F%2Ftwitter.com%2F+following&aq=f&oq=&aqi=0
both have parameters hl=en&rls=en&q=site%3Ahttp%3A%2F%2Ftwitter.com%2F+following&aq=f&oq=&aqi=0
run at the same time, they never give me the same results, often they're very different (depending on the search parameters.
what's going on?
Also, the

I'm guessing here, but usually if you do a google search using your regular account and have the history enabled, google will use your previous search to give you more accurate results. There are a bunch of things like that that may cause differences between searches with the exact same keyword(s)

The Axaj API is suspected to offer slightly different results to avoid the automatic harvesting of search result (SERP) info.
This is the same reason they only return 8 results per page and upto 8 pages via their AJAX api.
In principal they don't want people collecting this data, as it is usually used for SEO purposes in an attempt to coerce certain sites higher unduly.

Related

Google play app store optimization tips [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I just published my game on google two weeks ago and not getting installs. How can i promote or make it to come in search results or players find my game?
For you instant help i have only keyword suggestions for you. Did you do keyword research before uploading your game? if no then go with it
Finding The Best Keyword For Your App (ASO)
According to MobileDEVHQ test, apps with keywords inside title ranked on the average 10.3% greater than those without having a keyword in the title.
Unlike Apple store, Google does not have a keyword text field for you to put words that you think it can be important for the players to find your app.
However, Google will user your words in your app description. It means that everything you write about your app can be used to generate results in search. Therefore, I personally recommend you to pay more attention to your app description.
On the other hand, your App Title and Company Name have high weight in search results as well.
Hope this helps.

retrieving subset of FHIR resource [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
All,
I'm interested in the ability to retrieve a specific element within a FHIR resource using a single URL call. For example, suppose I'm interested in the gender of my patients. I would read the using the URL, without having to walk the XML node path every time. Right now, this functionality does not appear to exist. What do you think about the usefulness of this? Would like to get a sense of the community interest. Thanks.
-Jeff
For the default query mechanism, you can't bring anything back other than the full resource. (And don't even have a guarantee that the desired element will be present on all instances of the resource unless that element was part of your search criteria - in which case, why bother asking? :>). There's a new mechanism for defining custom queries. Refer to _query in the search/query section of the FHIR spec. However, it's not clear whether this will allow retrieval of anything other than full resource instances either.
This functionality does not exist at this time. It's on the wishlist, and we're trying to decide whether we can frame it in a sensible and safe fashion. The case you describe is relatively obvious, but many others aren't. And, in fact, when I think about it, it's not really clear to me how it works. what do you get back? just the gender element? so the server needs to - in effect - do the node walk for you, and you get, instead, to deal with a profusion of different schemas. It's not really obvious to me that this is a net saving for the client, and it's certainly a greater cost for the server.

Raw data in analytics [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I would like to have the data in my site individually. For example: visitant 1 visited page 1, page 2, page 3, at time x,y,z.
How can i get this data in analytics?
You cannot see data for individual visitors in GA (and trying to do so would violate Googles Terms of Service).
You can redirect the tracking calls to your own server and write a script to parse for visitor data, see me answer here:
What would database-schema/database-design look like for google analytics?
(Those methods served for compatibility with the Urchin analytics software - since support for Urchin was dropped it might be that those method will be dropped at some point in the future).

Asynchronously screenscraping pages and storing them with Active Record? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I need to screenscrape a bunch of pages and store them in a database using ActiveRecord. I messed around using EventMachine and Typhoeus but I get flaky results, mostly mysteriously empty records getting saved.
What's the trick? I had the best results with scraping pages and writing them to disk, then inserting them into the DB, but I'd really like to do it in a single pass.
Is anybody doing this successfully?
My guess is your threads are sharing an AR connection. This will cause problems, and anyway concurrency won't get records into your database any faster. I suggest you download concurrently and insert them in a single thread (like you've been doing.)

How to look up elevation data by lat/lng [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am planning an app that will need the ability to look up the elevation of geographic points by lat/lng. Ideally I would like something that would work worldwide, but US-only would also suffice. I have looked at using the USGS Elevation Query Web Service, however it only allows you to query for one point at a time, and I will need to look up several hundred, and possibly up to several thousand. I also considered downloading & hosting the National Elevation Dataset myself, but it's almost 100 gigs, and apparently the USGS only allows you to download 1.5 gigs at a time.
Can anyone familiar with GIS recommend a good solution for me? I'm looking for something as lightweight & simple as possible. I am completely new to GIS, so I would really appreciate suggestions on where to get the data, how to store it, and how/what to use when working with it.
Thanks in advance.
EDIT: Just to clarify, the data points I need are not predetermined. They are arbitrary points chosen by the user (by interacting with a google maps mashup), so I do need to be able to query for any point, not just a small subset.
EDIT 2: If there is no lightweight or simple solution, I'll take whatever I can get =)
I'll give you one of the best "secrets" that I learned throughout the years after going through many different pains (leeching scripts, manual clicking, etc). It is an old-school trick... contact a real person there!
The best way do get the NED elevation dataset is to contact USGS's Eros group directly at bulkdatainfo_at_usgs.gov
You send them an external drive and after 4 to 8 weeks (usually much less than that) they will send you the entire dataset that you requested.
Then use GDAL to query your points in a way similar to this example. You may want to read the Affine Geotransform section of the GDAL Data Model
I recently stumbled in to this question while doing research. I don't have a complete simple answer either, but there are some other options not listed in the answers so far:
Google Elevation API: 25,000 requests/day, limited to Google Maps applications
Lat/Lon to Elevation: 2 points / second
GPSVisualizer: no published speed, but not intended for general DEM use
Shuttle Radar Topography: alternative to the NED, 7 gigabytes for the US.
The USGS Elevation Query Web Service only allows one query at a time, but it allows you to make requests with SOAP, HTTP GET, or HTTP POST. Choose your favorite language and write a script to generate requests for each of your data points.
I bought a GEOIP database and store every single post long lat data in mysql. After that i just implement the Google Map API by passing dynamic longlat data to the Google MAP. What I get is all my post shown in the Google Map and also display nearest post from a certain location
What you need is a GEOIP database, A query that calculate distance in miles base on given longlat, Google API, PHP Dynamic passing API variables.
example of my site : Matchimedia.com.

Resources