iphone-weather

Created: 2008-08-17 21:19
Updated: 2016-05-08 12:02
php

README.md

Installation

For US people just change [LOCATION] into you ZIP code and change [DEGREE] to f for farenheit Other people go to Yahoo Weather and search for your location you will end up with a url like this: http://weather.yahoo.com/forecast/NLXX0018.html then you should change [LOCATION] into NLXX0018. Then you'll have to change [DEGREE] to your degree system, use c for celcius and f for farenheit.

Then just place the Wallpaper.html file in your current Theme directory..

Refresh rate

You can append &refresh=[TIMEINSECONDS] to the frame src to change the refresh rate, the default and minimum is 30 minutes. If you refresh faster you will see no difference because degrees are cached and updated only once every half hour.

Custom styles:

Just append &style=http://location.to.your/style.css to the frame src and it will load that style, you have to style #weather p..

You can change some styles via the url

Append: &font=FontName to change the font. &color=HEX to change the color, be sure to leave out the # part. &opacity=OPACITY to change the opacity (must be a number between 0 and 1) &size=SIZEINPX to change the font size

Known Issues

If you're getting a "ur doin somthn wrng" message check your location and degree type again. I've seen people filling in XXXXXX_c or something like that as their location you need to remove the "_c" part and try again. And your location should only contain your location ID not the entire http://weather.yahoo.com url.

Some location examples:

http://weather.yahoo.com/forecast/NLXX0018_c.html -> ?loc=NLXX0018&deg=c http://weather.yahoo.com/forecast/USCA0087.html -> ?loc=USCA0087&deg=f

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more