Need some testing on my app

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
inthebrilliantblue
Forum Newbie
Posts: 1
Joined: Thu Jun 10, 2010 4:15 pm

Need some testing on my app

Post by inthebrilliantblue »

Ive made a weather app that returns weather based on zip codes. I will add other countries to this app as soon as I learn what they are based on and when I have the time. If theres any US users here, try your zip code and post how incorrect or correct or corrupted the data is. I would try to test all the zip codes but thats just impossible.

http://www.inthebrilliantblue.com/weather/
User avatar
Benjamin
Site Administrator
Posts: 6896
Joined: Sun May 19, 2002 10:24 pm

Re: Need some testing on my app

Post by Benjamin »

Pretty neat. My zip worked fine.

:arrow: Moved to HTML, CSS and other UI Design Technologies
User avatar
bradbury
Forum Commoner
Posts: 40
Joined: Wed Aug 25, 2010 11:21 am
Location: Eugene, OR

Re: Need some testing on my app

Post by bradbury »

awesome app. i really like this. well done.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Need some testing on my app

Post by pickle »

You get a nasty error when I try to find the weather for "Zip Code". Maybe throw a file_exists() call in there first.

Also, maybe just a UI thing, but I'd put the zip code I just searched for, back in the text field, rather than reverting to "Zip Code". Finally, when clicking in that box, it'd be nice if all the text became selected, so I don't have to select it all to delete, or hit the delete button multiple times.

If you're interested in expanding to Canada, Environment Canada maintains a list of XML files that are regularly (as in, every hour or so) updated. The individual files are obscurely named, but there is a mapping XML file that converts city names & provinces to a code that gives you the filename.

The root of the site is here: http://dd.weatheroffice.ec.gc.ca/citypage_weather/xml/

For Camrose, Alberta (for example), the "site code" is "s0000311" and the province code is "AB", so the English weather feed for Camrose, Alberta is located at http://dd.weatheroffice.ec.gc.ca/citypa ... 0311_e.xml
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
wangxiaoyu
Forum Newbie
Posts: 4
Joined: Mon Sep 06, 2010 2:16 am

Re: Need some testing on my app

Post by wangxiaoyu »

pretty neat, i like this kind. :D
Post Reply