I am trying to extract the title of http://help.sketchup.com/en/article/56085 in google spreadsheets using =importxml("http://help.sketchup.com/en/article/56085","//title"). I am getting an error.
What am I doing wrong?
Thx
=importxml(Url,"//title/text()") worked on most of the links except the following three....anyideas?
Example1
Example2
Example3
It should be //head/title or to be exact =IMPORTXML("http://help.sketchup.com/en/article/56085", "//head/title")
I found the solution:
//td/#title
All 4 of your links worked completely fine in my sheets with this:
=importxml("url","//title")
This is the same formula you have listed in your questions so I'm not quite sure what the problem is? What kind of an error did you get?
Related
I think the title says it all. I have a shared google sheet which I'd like to limit several columns to make sure the information is correctly added as a hexcode.
I've been searching and I just can't seem to find anything, but this code I found for EXCEL may be a starting point:
=AND(LEN(A2)<13,ISERROR(HEX2DEC(A2))=FALSE)
It does not seem to work for Sheets...
try:
=ISNUMBER(HEX2DEC(REGEXEXTRACT(A1, "#(.*)")))*(LEN(A1)<8)
i am playing around with the yahoo yql.
If i do a search on:
https://query.yahooapis.com/v1/public/yql?q=select%20%2A%20from%20yahoo.finance.quotes%20where%20symbol%20in%20%28%22CARL-B.CO%22%29&env=store://datatables.org/alltableswithkeys&format=json
It works as expected.
If i do a search on this:
https://query.yahooapis.com/v1/public/yql?q=select%20%2A%20from%20yahoo.finance.quotes%20where%20symbol%20in%20%28%22MAERSK-B.CO%22%29&env=store://datatables.org/alltableswithkeys&format=json
I get no result.
If i search both symbols here:
https://finance.yahoo.com/quote/CARL-B.CO
https://finance.yahoo.com/quote/MAERSK-B.CO
Both works just fine.
Am i doing something wrong or are there some kind of limitations on some stocks/shares?
I think the problem is http://datatables.org/ . Currently not working.
I'm trying to pull a series of notes out of salesforce, I really just need the body of those notes and I'd really rather avoid copying those manually.
I've got the URLs of the notes into a Google Docs spreadsheet and I'm trying to use ImportXML function to pull specific information out, however I can't seem to get the xpath query right.
After some attempts of my own and a fair bit of research (I am a complete beginner so I might jut be searching for the wrong things) I came up with an xpath query like so:
//div[#class="pbSubsection"]//td[#class="data2Col"][5]//text
This results in a parsing error.
I also found that I can open up the Note in Chrome and in developer tools, find the table and right-click to select Copy XPath, which gives me:
//*[#id="ep"]/div[2]/div[2]/table/tbody/tr[5]/td[2]
Even if I append //text onto the end. Obviously this is not as fool-proof as I require; is there something I'm missing here or some tool I can use to figure out the problem with these queries? I tried XMLQuire without much luck.
Then again, if some kind soul wants to take a look at the page code (hastily altered to remove sensitive information) and tell me specifically what I'm missing, I'll settle for that:
https://www.dropbox.com/s/peo5i47du1vtsmu/test.html
The text I'm trying to pull is:
teamviewer 12345
Server: Customer Name, ST
Username: administrator
Password: password1
Any ideas? Thanks in advance for your time.
"//div[#class='pbSubsection']//td[#class='data2Col']/text()"
yields
['Connection Details',
'teamviewer 12345 \r',
'\r',
'Server: Customer Name, ST\r',
'Username: administrator\r',
'Password: password1']
Is it possible to only get the tweets containing an image from the people that I follow?
Thanks
Was too quick to ask this.
Found one solution here.
http://sociable.co/social-media/search-twitter-like-a-pro-how-to-find-the-latest-images-photos-being-tweeted/
i have a demo : http://code.google.com/intl/zh-CN/apis/maps/articles/mvcfun.html
but , i can't understand clearly ,
so has any more demo about it ,
thanks
There is a step-by-step tutorial here using MVCObject to link two draggable markers with a line
You could try Marc Ridey's Blog
Doing a google search turned up a few as well: Google Search
I feel your pain! Going thru the same problems with almost a total lack of good documentation on the subject.. Google's answer is that not many developers with need to use it.. lol