Re: [libreoffice-users] extracting data from uri

2016-07-18 Thread leleu

Je la 18/07/2016 18:20, Paolo Debortoli skribis :
Hi. I am working on a calc sheet and need to insert data from an url: 
https://finance.google.com/finance/info?client=ig=NASDAQ%3aAAPL I 
guess it generates a csv output (in the browser it is like: // [ { 
"id": "22144" ,"t" : "AAPL" ,"e" : "NASDAQ" ,"l" : "99.92" ,"l_fix" : 
"99.92" ,"l_cur" : "99.92" ,"s": "0" ,"ltt":"12:13PM EDT" ,"lt" : "Jul 
18, 12:13PM EDT" ,"lt_dts" : "2016-07-18T12:13:44Z" ,"c" : "+1.14" 
,"c_fix" : "1.14" ,"cp" : "1.15" ,"cp_fix" : "1.15" ,"ccol" : "chg" 
,"pcls_fix" : "98.78" } ]). I would need to isolate the number with 
'l' label and insert it into a cell. I also tried menu -> link 
external data -> url; it opens the page, sees the table, but doesn't 
show it in the dialog box (with the checkbox 'update every x seconds' 
 bug??). Thanks if you can help. Paolo
If the structure is always the same locate the 15th ", cut keeping the 
right part, locate the next, cut keeping the left part.
The formula for the whole operation occupy a cell, next to the one which 
shall receive the data...


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] extracting data from uri

2016-07-18 Thread Paolo Debortoli
Hi.  I am working on a calc sheet and need to insert data from an url:  

https://finance.google.com/finance/info?client=ig=NASDAQ%3aAAPL 


I  guess it generates a csv output  (in the browser it is like:  
// [ { "id": "22144" ,"t" : "AAPL" ,"e" : "NASDAQ" ,"l" : "99.92" ,"l_fix" : 
"99.92" ,"l_cur" : "99.92" ,"s": "0" ,"ltt":"12:13PM EDT" ,"lt" : "Jul 18, 
12:13PM EDT" ,"lt_dts" : "2016-07-18T12:13:44Z" ,"c" : "+1.14" ,"c_fix" : 
"1.14" ,"cp" : "1.15" ,"cp_fix" : "1.15" ,"ccol" : "chg" ,"pcls_fix" : "98.78" 
} ]).   I would need to isolate the  number with 'l' label and insert it into a 
cell.

I also tried menu -> link external data -> url;  it opens the page, sees the 
table, but doesn't show it in the dialog box (with the checkbox 'update every x 
seconds'   bug??).

Thanks if you can help.

Paolo

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted