Ubuntu - Conky
Discussion
buggalugs said:
Who you callin a punk??
:Pevery one until i crack this soding weather shit
[b]
- !/bin/sh
- Grab weather data from weather.com and format it according to the given XSLT
- Script written by boojit
- Modified by Hellf[i]re
- Modified by Vredfreak
- The orignal script and xslt can be downloaded from http://pondol.com/weather.tar.gz
- Usage:
- ${execi 1800 /path/to/weather/weather.sh location}
- Usage Example:
- ${execi 1800 /home/user/weather/weather.sh 03833}
- your Location ID: use http://xoap.weather.com/search/search?where=[yourc... to find it
- U.S. users can just use their zip code; doubt that works for anyone else though (YMMV)
- s=standard units, m=metric units
- where this script and the XSLT lives
- there's probably other stuff besides CURL that will work for this, but i haven't
- tried any others.
- you can get curl at http://curl.haxx.se/
- get it at http://xmlsoft.org/XSLT/
- you probably don't need to modify anything below this point....
- CURL url. Use cc=* for current forecast or dayf=10 to get a multi-day forecast
- The XSLT to use when translating the response from weather.com
- You can modify this xslt to your liking
- filter (if you want to convert stuff to lower-case or upper case or something)
- FILTER="|gawk '{print(tolower(\$0));}'"
- ###
[/b]
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff




ed it all up and will now have to restore to an image of my machine i took this morning. but at least i know what i did to ix it and where i went wrong