I am thinking....xmlweather :P And we can have weather_grab_<cc> scrapers =D
On Mon, 14 Mar 2005 04:09:27 -0500, Brad Benson <[EMAIL PROTECTED]> wrote: > >From some activity on the -users list it appears that mythweather is > no longer working correctly due to some DNS changes by weather.com. > In an attempt to prevent this from being a 'recompile mythweather' > problem in the future I've made some changes that will allow an entry > in the settings table of the db to specify the URL used for weather > data and maps. There are hardcoded default values using currently > working URL's so that missing settings shouldn't have any effect on > current users. I also cleaned up some of the debugging output to use > VERBOSE instead of plain old cerr calls. > > In looking through the code it seems that we might want some more > modular way to retrieve weather data in the case that we need to > change data providers (or that a user would simply prefer to use > something other than msnbc/weather.com). This patch certainly doesn't > address that in any way, but it would prevent problems in the case > that the URL for retrieving data changes, but the data remains in the > same format. > > As far as a modular method to retrieve weather data, I was thinking > that the best way would probably be to call an outside script/program > that would have to conform to a specified output format. Myth could > then read the predictable output from that program and gather the > necessary data. This would allow users to create their own > screenscraper/data parser, change the weather data URL's in the db and > be off and running using whatever data source they'd like. > > Anyone have any input/suggestions towards this goal or is anyone > already working on something similar? > > Brad > > > _______________________________________________ > mythtv-dev mailing list > mythtv-dev@mythtv.org > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev > > > > -- GMAIL is 'da bomb baby....YEAH I have GMail invites, if you want one, email me direct.
_______________________________________________ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev