=importxml string Google Sheets- Alexa Audience - web-scraping

I am trying to scrape the audience figures out of Alexa through =importxml but can't get the query to work.
So far I have
=importxml(B3,"//section[#id='visitors-content']")
B3 refers to the cell with the url... I am returning N/A not an error so I think I am close!
If anyone can see what I am doing wrong I would be grateful, very new to this.

had similar issues with HTML5 sections
From my opinion GDoc does not support this kind of query. Same Formula works in Excel: I would reccomend SEO TOOLs by Niels Bosma for XPATH Querys (for Excel, no iOS Support).
Best Adrian

Related

How to specify gender in Google Cloud Translation API

I am using Google Cloud Translation API in one of my projects. I want to specify the gender for the translation. I am unable to find about this in Google Cloud Translation. I have also searched a lot on the Internet but not found any way to do this. I know how to specify the gender in Google Text to Speech API using the SSML, but I need it for the translation. Any help will be highly appreciated.
After much searching I have discovered that there is currently no way to do this.
I have made a feature request along these lines at the invitation of GCP support.
The documentation indicates that feature requests are prioritised by how often an issue is starred, so for now my best answer is to star the issue here so that they know how many people are interested in this.
Looking for the same...
As it is NMT (Neural Machine Translation), it reacts to context.
I tried many combinations and found that this works well so far (says, not 'to', not 'talk').
Examples are EN > ES
However, sometimes its effect doesn't reach far in the translation.
So you have to stick the 'prefix' before each sentence.
Sometimes you get irregular behavior (see lower case "estoy"). And when you change something irrelevant (to you, but not to the model) ... buala!
So the final version (for now) is:
I guess the point is:
Understanding how it works (Machine Learning Language Models)
The Model (Algorithm) they use is evolving, so you need to keep an eye, as what works today may break tomorrow.
Once you get the response you will have to filter out you 'prefix', but that is not too difficult.
Please comment if you find better ways (or the API gets updated).
Related info: https://ai.googleblog.com/2018/12/providing-gender-specific-translations.html

Is there an ability to use wildcards (*) in the query parameters with the BOSS API?

I'm having trouble finding a definitive answer in the API documentation, or anywhere else online. Does anyone know if it's possible to include wildcards in the query parameters (either encoded or unencoded) when sending up a search web request? For example, "Corp*" would match both "Corp" and "Corporation".
Thank you for any help!
For those who find this question some time in the future, the answer I received from their support team is below:
With BOSS API, developers can fetch search content for Web, News, and Image results. At this point there is no option to use the wildcards in the search query to replace words in a query string.
I will surely forward this suggestion to our engineering team to see if this feature can be incorporated in our future release.
So unfortunately there is no support as of May 20, 2015. Perhaps it will be added in the future.

Freebase with own data?

I have been looking for an autosuggest search script and I have finally found one that I like, the only problem is that I cannot find a way to get it to run off our database results.
Is there any way to customize this script so that it runs from our own database, and not off the freebase pre-defined data types?
http://www.freebase.com/docs/suggest
Have you tried overriding service_url and service_path ? There are also the corresponding params for the flyout service. It's documented in the docs that you pointed to.
As masouras says, you can override service_url and service_path, but that's not particularly helpful unless you have another service which provides the same APIs as Freebase.
Dae Park recently posted a recipe to the Freebase mailing list which might help - however, I'm not aware of anyone who's actually managed to get Suggest working with anything other than Freebase.

How do I get an rss feed out of a google scholar search?

I'd like an rss feed from this google scholar search: Scholar Fish Oil Search
I've looked a little bit at yahoo pipes, and I thought I had found a solution when I found this pipe: Old Pipe But it doesn't work (it's a couple years old now). If someone can either tell me what's wrong with that pipe, or tell me how to retrieve a feed from that search through another means, I'd be very appreciative.
Thanks for your time,
-Landon
You could try a 3rd party website that creates feeds from other websites. See 7 Tools To Make An RSS Feed Of Any Website. (Disclaimer: I have no idea if they work or are any good, but they may be worth investigating).
[Edit: Google disallows indexing of this content via their robots.txt file, apparently. Check out http://scholar.google.com/robots.txt. Yahoo Pipes respects the robots.txt file—perhaps one of the other tools doesn't suffer from this snag?]
It appears that markup may have been altered slightly since the publication of this Pipe.
When I use the URL builder module in Pipes and populate the sample query with "fish oil", I get the following search string:
http://scholar.google.com/scholar?scoring=r&q=%22fish+oil%22&lr=&hl=en&as_ylo=2007
(Which, when entered into a browser window, does generate results.)
I am currently parsing through their regular expressions to make sure the proper elements are captured.
Did you have any luck with the tools Dan mentioned? Would also be quite interested if any were simple, effective, and (ideally) non-proprietary or self-hostable.

Is there an API (SOAP, JSON, XML-RPC, REST, anything) to Google Code Issues?

Is there any programmatic way to read the data stored in a Google Code Project Hosting "Issues" tracker? Ideally it'd be nice to update/add issues too, but first I need some structured form of data from the tracker. I only see the HTML pages, and an Atom feed for issue updates.
Now there is one.
http://googlecode.blogspot.com/2009/10/issue-tracker-data-api-for-project.html
There doesn't seem to be but they have promised it's coming during the Google Wave introduction. The demo is at minute 61 and your question is answered at minute 78.

Resources