[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
weathermap --image-uri option is being ignored
- From: Joshua Keroes <jkeroes@xxxxxxxxx>
- Subject: weathermap --image-uri option is being ignored
- Date: Thu, 7 May 2009 19:11:22 -0700
This is weathermap 0.96a: $ weathermap configs/sttl.conf --output pops/sttl.png --htmloutput pops/sttl.html --image-uri http://IGNORED $ grep IGNORED pops/sttl.html (It should be there but it's not.) What's the img src set to instead? $ grep src pops/sttl.html | perl -pe 's/.* ( src=\S+ ) .* >/$1.../x' src="pops/sttl.png"... A nice guess, but what happens when pops/sttl.html is already in pops/ ? Answer: the base href is set to pops/ And then the img src is appended, and the web browser starts looking for http://hostname/path/to/the/html/file/* pops/pops/*sttl.png. The pops/ directory is doubled; not good.
- Prev by Date: Weathermap 0.96a released
- Next by Date: Hower graph in 0.96a are not shown anymore
- Previous by thread: Weathermap 0.96a released
- Next by thread: Hower graph in 0.96a are not shown anymore
- Index(es):