mirror of
https://github.com/brmlab/povoden.git
synced 2025-06-07 17:54:10 +02:00
revert to old host
This commit is contained in:
parent
55f9618a24
commit
2c39434c39
3 changed files with 4 additions and 5 deletions
6
Makefile
6
Makefile
|
@ -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
2
TODO
|
@ -1,2 +0,0 @@
|
|||
* http://www.dpp.cz/povodne-aktualni-doprava/
|
||||
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue