mirror of
https://github.com/brmlab/povoden.git
synced 2025-06-07 17:54:10 +02:00
better handle doprava.png
This commit is contained in:
parent
dc8d96e47b
commit
9ae7650f23
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -46,7 +46,7 @@ refresh:
|
|||
|
||||
refreshdpp:
|
||||
wget $(DOPRAVAURL) -O - | $(XMLLINT) --encode utf8 - > $(DOPRAVATMP)
|
||||
wget $$($(XMLLINT) --html --xpath '$(DOPRAVAXPATH1)' $(DOPRAVATMP)) -O - | convert - data/doprava_.png
|
||||
wget $$($(XMLLINT) --html --xpath '$(DOPRAVAXPATH1)' $(DOPRAVATMP)) -O - | convert -density 150 - data/doprava_.png && mogrify -resize 1200x1200 data/doprava_.png
|
||||
$(XMLLINT) --xpath '$(DOPRAVAXPATH2)' $(DOPRAVATMP) > data/doprava_.html
|
||||
mv data/doprava_.png data/doprava.png && mv data/doprava_.html data/doprava.html
|
||||
rm $(DOPRAVATMP)
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
.content
|
||||
|
||||
#imgdoprava
|
||||
%img(src="data/doprava.png" style="width: 100%; max-width: 1191px;")
|
||||
%img(src="data/doprava.png" style="width: 100%; max-width: 1200px;")
|
||||
|
||||
#doprava
|
||||
=File.read("data/doprava.html")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue