> ---------------------------------------- > From: John Percival <[email protected]> > Sent: Mon Aug 03 21:35:00 CEST 2009 > To: <[email protected]> > Subject: Re: [Freevo-users] Weather forecast > > > Chris, > > Not sure if you got Moscow working - I did, but I used code RSXX0063 (note > double zero). Maybe that's the problem with the US ones you tried? > > This is where I get the maps from: > > http://weather.msn.com/localmaps.aspx?setunit=C&wealocations=wc:UKXX0037 > > My patch simply reads this page then parses the html to derive the url of the > map itself, which is then downloaded. > > Actually, for the mistyped RUXX case, the original code also crashes, albeit > in a different place. Using my newly acquired Python 'skills' I had changed > the displayed date from the back-to-front US style (sorry) to the format we > use in the UK - that's where my code crashes but the original also crashes in > the same routine. > > Looks like error handling needs to be smartened up a bit. I'm not sure that > I'm quite ready to properly maintain code. My Python programming is quite > inelegant still. But maybe one day. Happy to share my findings with the > experts, though. > > I also take your point about not refreshing all locations at once. But more > worrying for me at the moment is the fact that although I've now added a > second location, I don't seem to get a sub menu at all. > > > John. >
[Just sorted out the sub-menu - helps to get the config right] > > ---------------------------------------- > > From: Chris Jones <[email protected]> > > Sent: Mon Aug 03 04:02:39 CEST 2009 > > To: <[email protected]> > > Subject: Re: [Freevo-users] Weather forecast > > > > > > On Sun, Aug 02, 2009 at 03:16:39PM EDT, John Percival wrote: > > > > > Chris, > > > > > Don't know about a cache. There is WEATHER_AGE which I have set to 1 > > > sec to force it to get the data every time (normally it's set to an > > > hour). > > > > Now it's working.. Must have been sloppy testing on my part. > > > > > I'll have a look at the places you're having trouble with. I did warn > > > you it was a hack, though !! > > > > One who fixes a lowly user like myself's issue in a couple of hours > > becomes the official maintainer of the code. > > > > That's precisely why I was giving you a heads-up re: the results of my > > testing. > > > > A possible design flaw in the plugin is that it fetches all the data for > > all weather stations when you access the subdirectory from the main > > menu. This is OK when you have about 2-3 entries.. less so when you have > > defined 20-30 entries or more. > > > > Takes forever.. so maybe it would be better to retrieve the data when > > the user actually accesses a given weather station. > > > > Seriously, I was NOT whining, quite the contrary.. > > > > I figured some form of feedback from a real life "user" might be useful. > > > > Thanks for fixing my problem...!!! > > > > CJ > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > > on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Freevo-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/freevo-users > > ----------------------------------------------------- > Mail.be, WebMail and Virtual Office > http://www.mail.be > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Freevo-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freevo-users ----------------------------------------------------- Mail.be, WebMail and Virtual Office http://www.mail.be ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
