Discussion Forums  >  WebViews and HTML for Mobile

Replies: 7    Views: 217

basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
03/21/12 12:17 PM (13 years ago)

best url for local weather (iOS)

in my app, I currently link to the local weather via the weather network's web site. It's ok, but not great. Does anyone know of a more iPhone friendly weather web site that I could link to, showing my city's current weather (I'm in Ontario, Canada)? thanks!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/21/12 01:08 PM (13 years ago)
Hey @basement, I really like Weather Underground for mobile weather. It has a good display and lots of good data! Mark
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
03/21/12 01:10 PM (13 years ago)
thanks, I'll check it out.
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
03/21/12 01:17 PM (13 years ago)
k, I like it. In my browser, entering this: http://i.wund.com/global/stations/71634.html#conditions is perfect, but when I access it from my app, it doesn't start the page as my town/province then the weather, it starts at a underground search box, then an ad then my town/province. Seems the app's not taking into account the #conditions anchor. Any thoughts on how to fix that?
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
03/21/12 03:53 PM (13 years ago)
Try this. Use it (with corresponding city) in each of my 8 published apps with weather. http://i.wund.com/auto/iphone/FL/Fort_Myers.html The format was obviously designed for iPhone but works equally well on Android.
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
03/21/12 03:59 PM (13 years ago)
Huh. Looks like they've changed things a bit at weather underground. My suggestion, and all my sites have the search box and ad too. Bummer.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/21/12 08:33 PM (13 years ago)
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
03/22/12 04:39 AM (13 years ago)
this does it - looks perfect on iPhone still, but moves up and hides the search box and the ad: http://i.wund.com/cgi-bin/findweather/getForecast?query=Sarnia#conditions hmm....strange. It works in safari on my mac, and in safari on my iPhone, but gives a "city not found" error when I add it as an external link in my app.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.