Given you have this content on a website
Timestamp Speed
2012-12-11 08:45:00.0 222.2
2012-12-11 08:46:00.0 111.3
2012-12-11 08:47:00.0 123.6
2012-12-11 08:48:00.0 234.7
2012-12-11 08:49:00.0 234.87
2012-12-11 08:50:00.0 457.1
2012-12-11 08:51:00.0 239.4
2012-12-11 08:52:00.0 376.4
2012-12-11 08:53:00.0 -9999.9
and you know the url of the website.
Is it possible to use javascript (or what should be used) to select the most recent timestamp
(but not the timestamp with the content -9999.9) and its value, and save the timestamp and the value
in two variables that can be displayed on another webpage?
There will be a new updates every minute that should
be streamed to the other page.
Streaming data from one website to another
Page 1 of 11 Replies - 501 Views - Last Post: 17 April 2013 - 04:07 AM
Replies To: Streaming data from one website to another
#2
Re: Streaming data from one website to another
Posted 17 April 2013 - 04:07 AM
Use Python:
import urllib
# Get a file-like object
f = urllib.urlopen("http://www.......")
let the download loop
and import it using javascript
import urllib
# Get a file-like object
f = urllib.urlopen("http://www.......")
let the download loop
and import it using javascript
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote



|