You could run a query to the WebSearch component of the Search API for each result given and then add the url of the first result that returns. Unfortunately, there are two major drawbacks to this approach: There is no way to guarantee that this first result will actually be the given organization's website, and it will mean making one additional request for every LocalSearch result you receive. That's an additional 32 requests for one full resultset.
At any rate, make sure to star the issue on the tracker. Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Jul 29, 2010, at 11:46 PM, Nikita Rybak wrote: > Hi there, > > What I want is precisely described in the title, as well as in this > feature request: > http://code.google.com/p/google-ajax-apis/issues/detail?id=461 > > But since it seems to be impossible for now, I wander what would be > the alternatives. The best I can think of is to have my back-end query > returned google maps url and get business url from there. > The reporter in the link above also describes some way to do it via > google maps, with infoWindow.hp.actualUrl, but search doesn't give me > 'actualUrl' property in any of the google api's. > > What would you do? Thanks! > > > PS I don't run any scrapping engine, just when user selects local > business I'd like to provide also url. > > -- > You received this message because you are subscribed to the Google Groups > "Google AJAX APIs" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
