diff --git a/Makefile b/Makefile index 594527a..b82f75d 100644 --- a/Makefile +++ b/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) $< $@ diff --git a/TODO b/TODO deleted file mode 100644 index 95e8c57..0000000 --- a/TODO +++ /dev/null @@ -1,2 +0,0 @@ -* http://www.dpp.cz/povodne-aktualni-doprava/ - diff --git a/index.haml b/index.haml index 244dc26..b522f17 100644 --- a/index.haml +++ b/index.haml @@ -29,4 +29,5 @@ %th datum a čas %th stav [cm] %th průtok [m3s-1] + %th teplota [°C] =File.read("data/table.html")