Jump to content
Sign in to follow this  
Stormys

Google Doc Help

Recommended Posts

I have been working on a google docs and it is using the formula importxml. The importxml use to work and now its seems to always give me either loading... or #N/A. I am looking for help on fixing this problem.

 

If you have either a fix in either formula based or google apps script(prefered) then you would be a life saver :)

 

=ImportXML("http://services.runescape.com/m=clan-hiscores/members.ws?clanId=31085&pageSize=15&ranking=51","//span['name']")

 

Above, I provide the exact formula.

 

Thanks


Stormfire64.png

Share this post


Link to post
Share on other sites

I get this error a lot. It appears to be google's fault. Nothing you can do about it, just wait for it to work again.

Share this post


Link to post
Share on other sites

I get this error a lot. It appears to be google's fault. Nothing you can do about it, just wait for it to work again.

 

It is back and working now. Great to know I can count on google docs >.<


Stormfire64.png

Share this post


Link to post
Share on other sites

A second question, how do I have my importxml auto-refresh update like every minute instead of every hourish(i think)


Stormfire64.png

Share this post


Link to post
Share on other sites

I use a trick to get around that, basically you add a random, changing variable to the URL in a way that doesn't effect it.

I use

=INT(GOOGLECLOCK()/TIME(0;5;0))&GoogleFinance("GOOG")

which should never be the same twice and change every minute at minimum.

So put that in a cell, let's say B1, then you would change your formula to be:
=ImportXML("http://services.runescape.com/m=clan-hiscores/members.ws?random="&B1&"?clanId=31085&pageSize=15&ranking=51","//span['name']")

It will still give the same results, but should force it to stop caching and update every minute.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.