4

Finally, a yahoo weather code that displays the degrees symbol. Just plug in your own zip code.


Comments

User Avatar
valiant66 2413 days ago
This doesn't work for Canada / deg.C. Is there any way to make that work?
User Avatar
deckert 2411 days ago
Can't get the formatting to work properly, but basically you just change the F's for C's and the f's for c's at 4 places in the command (marked with **C|c**)

curl --silent "http://weather.yahooapis.com/forecastrss?p=ASXX0112&u=**c**"

grep -E '(Current Conditions:|**C**<BR)'

**C**/\1° **C**/'
User Avatar
Alienraygun 2394 days ago
It grabs some HTML tags (open closed B tag and a BR tag) but no weather.
User Avatar
iKillz 2326 days ago
Is there a way to use the yahoo weather code instead

Of your zip code?
User Avatar
jbello18 1374 days ago
how do I use a japanese zip code?

Log in to comment or register here.