revert to old host

This commit is contained in:
Pavol Rusnak 2013-06-03 17:58:46 +02:00
parent 55f9618a24
commit 2c39434c39
3 changed files with 4 additions and 5 deletions

View file

@ -3,9 +3,9 @@ HAML=haml
all: index.html doprava.html
refresh:
curl 'http://vvv.chmi.cz/hydro/detail_stanice/307225.html' | sed -n '153,302 p' > data/table.html
wget 'http://vvv.chmi.cz/hydro/graph/big/307225_H.png' -O data/stav.png
wget 'http://vvv.chmi.cz/hydro/graph/big/307225_Q.png' -O data/prutok.png
curl 'http://hydro.chmi.cz/hpps/popup_hpps_prfdyn.php?seq=307225' | sed -n '154,333 p' > data/table.html
#wget 'http://hydro.chmi.cz/hpps/tmp/img/big/307225_H.png' -O data/stav.png
#wget 'http://hydro.chmi.cz/hpps/tmp/img/big/307225_Q.png' -O data/prutok.png
%.html: %.haml
$(HAML) $< $@

2
TODO
View file

@ -1,2 +0,0 @@
* http://www.dpp.cz/povodne-aktualni-doprava/

View file

@ -29,4 +29,5 @@
%th datum a čas
%th stav [cm]
%th průtok [m<sup>3</sup>s<sup>-1</sup>]
%th teplota [°C]
=File.read("data/table.html")